Class PrometheusEventMonitor
- java.lang.Object
-
- org.openmetadata.service.monitoring.EventMonitor
-
- org.openmetadata.service.monitoring.PrometheusEventMonitor
-
public class PrometheusEventMonitor extends EventMonitor
-
-
Constructor Summary
Constructors Constructor Description PrometheusEventMonitor(EventMonitorProvider eventMonitorProvider, EventMonitorConfiguration config, String clusterPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
PrometheusEventMonitor
public PrometheusEventMonitor(EventMonitorProvider eventMonitorProvider, EventMonitorConfiguration config, String clusterPrefix)
-
-
Method Detail
-
pushMetric
protected void pushMetric(ChangeEvent event)
- Specified by:
pushMetricin classEventMonitor
-
close
protected void close()
- Specified by:
closein classEventMonitor
-
-