Uses of Class
org.sentrysoftware.metricshub.engine.telemetry.Monitor
Packages that use Monitor
Package
Description
-
Uses of Monitor in org.sentrysoftware.metricshub.engine.alert
Methods in org.sentrysoftware.metricshub.engine.alert with parameters of type MonitorConstructor parameters in org.sentrysoftware.metricshub.engine.alert with type arguments of type MonitorModifierConstructorDescriptionAlertRule(@NonNull BiFunction<Monitor, Set<AlertCondition>, AlertDetails> conditionsChecker, @NonNull Set<AlertCondition> conditions, long period, @NonNull Severity severity) Creates an AlertRule instance with the specified conditionsChecker, conditions, period, and severity.AlertRule(@NonNull BiFunction<Monitor, Set<AlertCondition>, AlertDetails> conditionsChecker, @NonNull Set<AlertCondition> conditions, long period, @NonNull Severity severity, @NonNull AlertRuleType type) Creates an AlertRule instance with the specified conditionsChecker, conditions, period, severity, and type.AlertRule(@NonNull BiFunction<Monitor, Set<AlertCondition>, AlertDetails> conditionsChecker, @NonNull Set<AlertCondition> conditions, @NonNull Severity severity) Creates an AlertRule instance with the specified conditionsChecker, conditions, and severity.AlertRule(@NonNull BiFunction<Monitor, Set<AlertCondition>, AlertDetails> conditionsChecker, @NonNull Set<AlertCondition> conditions, @NonNull Severity severity, @NonNull AlertRuleType type) Creates an AlertRule instance with the specified conditionsChecker, conditions, severity, and type. -
Uses of Monitor in org.sentrysoftware.metricshub.engine.strategy.utils
Methods in org.sentrysoftware.metricshub.engine.strategy.utils with parameters of type MonitorModifier and TypeMethodDescriptionstatic DoubleCollectHelper.getNumberMetricCollectTime(Monitor monitor, String metricRateName, boolean previous) Get theNumberMetriccollect timestatic DoubleCollectHelper.getNumberMetricValue(Monitor monitor, String metricName, boolean previous) Get theNumberMetricvaluestatic StringCollectHelper.getStateSetMetricValue(Monitor monitor, String metricName, boolean previous) Get theStateSetMetricvalue.static DoubleCollectHelper.getUpdatedNumberMetricValue(Monitor monitor, String metricName) Get the updatedNumberMetricvalueMappingProcessor.interpretContextMappingAttributes(Monitor monitor) This method interprets context mapping attributesMappingProcessor.interpretContextMappingConditionalCollection(Monitor monitor) This method interprets context mapping conditional collectionsMappingProcessor.interpretContextMappingLegacyTextParameters(Monitor monitor) This method interprets context mapping legacy text parametersMappingProcessor.interpretContextMappingMetrics(Monitor monitor) This method interprets context mapping metrics -
Uses of Monitor in org.sentrysoftware.metricshub.engine.telemetry
Methods in org.sentrysoftware.metricshub.engine.telemetry that return MonitorModifier and TypeMethodDescriptionTelemetryManager.addNewMonitor(@NonNull Monitor monitor, @NonNull String monitorType, @NonNull String id) Add a new monitor instanceMonitorFactory.createEndpointHostMonitor(boolean isLocalhost) Creates the endpoint Host monitorMonitorFactory.createOrUpdateMonitor()This method creates or updates the monitorMonitorFactory.createOrUpdateMonitor(String id) This method creates or updates the monitorTelemetryManager.findMonitorById(String monitorId) This method finds a monitor having a given id regardless of its typeTelemetryManager.findMonitorById(String id, Map<String, Monitor> monitorsMap) Finds a monitor using its id attributeTelemetryManager.findMonitorByTypeAndId(String type, String id) Finds a monitor using its type and its id attributeTelemetryManager.findParentMonitor(Monitor monitor) This method finds the parent of a given monitorTelemetryManager.getEndpointHostMonitor()Return the root host monitor instanceMethods in org.sentrysoftware.metricshub.engine.telemetry that return types with arguments of type MonitorModifier and TypeMethodDescriptionTelemetryManager.findMonitorsByType(String type) Finds a monitor using its typeMethods in org.sentrysoftware.metricshub.engine.telemetry with parameters of type MonitorModifier and TypeMethodDescriptionTelemetryManager.addNewMonitor(@NonNull Monitor monitor, @NonNull String monitorType, @NonNull String id) Add a new monitor instanceMetricFactory.collectMetricUsingConnector(Connector connector, Monitor monitor, long strategyTime, String metricName, String metricValue) This method collects a metric using the connector metricsvoidMetricFactory.collectMonitorMetrics(String monitorType, Connector connector, Monitor monitor, String connectorId, Map<String, String> metrics, long strategyTime, boolean isDiscovery) This method collects monitor metricsMetricFactory.collectNumberMetric(Monitor monitor, String name, @NonNull Double value, Long collectTime) This method sets number metric in the monitorMetricFactory.collectNumberMetric(Monitor monitor, String name, @NonNull String value, Long collectTime) This method sets number metric in the monitorMetricFactory.collectStateSetMetric(Monitor monitor, String metricName, String value, String[] stateSet, long collectTime) This method sets a stateSet metric in the monitorTelemetryManager.findParentMonitor(Monitor monitor) This method finds the parent of a given monitorMetricFactory.getMetricDefinitionFromExtractedMetricName(Connector connector, Monitor monitor, String metricName) This method returns a metric definition based on the extracted metric name (metric name without attributes)booleanTelemetryManager.isConnectorStatusOk(Monitor currentMonitor) This method checks whether a connector status was set to "ok"Method parameters in org.sentrysoftware.metricshub.engine.telemetry with type arguments of type MonitorModifier and TypeMethodDescriptionvoidMonitorsVo.addAll(Collection<Monitor> monitors) Ingest all the given monitorsTelemetryManager.findMonitorById(String id, Map<String, Monitor> monitorsMap) Finds a monitor using its id attribute