code: public List<ServiceMonitor> getServiceMonitors() {
          List<ServiceMonitor> serviceMonitors = new ArrayList<>();
          serviceMonitors.addAll(getDynamicServices(ServiceMonitor.class));
          return serviceMonitors;
      }
docs: Returns all service monitors.