Class PrometheusEventMonitor
java.lang.Object
org.openmetadata.service.monitoring.EventMonitor
org.openmetadata.service.monitoring.PrometheusEventMonitor
-
Constructor Summary
ConstructorsConstructorDescriptionPrometheusEventMonitor(EventMonitorProvider eventMonitorProvider, EventMonitorConfiguration config, String clusterPrefix) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclose()voidincrementIngestionPipelineCounter(String fqn, String pipelineType, String eventType) A new counter will be created only if it does not exist for the given set of tags.protected voidpushMetric(ChangeEvent event) Methods inherited from class org.openmetadata.service.monitoring.EventMonitor
buildMetricNamespace
-
Constructor Details
-
PrometheusEventMonitor
public PrometheusEventMonitor(EventMonitorProvider eventMonitorProvider, EventMonitorConfiguration config, String clusterPrefix)
-
-
Method Details
-
pushMetric
- Specified by:
pushMetricin classEventMonitor
-
close
protected void close()- Specified by:
closein classEventMonitor
-
incrementIngestionPipelineCounter
A new counter will be created only if it does not exist for the given set of tags. Otherwise, micrometer will increase the count of the existing counter. Ref ...
-