public class PrometheusMetricsAdapter extends java.lang.Object implements com.adaptris.mgmt.kubernetes.metrics.KubernetesMetricsAdapter, MessageMetricsListener
| Constructor and Description |
|---|
PrometheusMetricsAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected int |
collectorIntervalSeconds() |
java.lang.String |
getImplementationName() |
void |
init() |
void |
notifyMessageMetrics(java.util.List<MessageStatisticExtended> statistics) |
void |
start() |
void |
stop() |
public void init()
throws CoreException
init in interface ComponentLifecycleCoreExceptionpublic void start()
throws CoreException
start in interface ComponentLifecycleCoreExceptionpublic void stop()
stop in interface ComponentLifecyclepublic void close()
close in interface ComponentLifecyclepublic java.lang.String getImplementationName()
getImplementationName in interface com.adaptris.mgmt.kubernetes.metrics.KubernetesMetricsAdapterprotected int collectorIntervalSeconds()
public void notifyMessageMetrics(java.util.List<MessageStatisticExtended> statistics)
notifyMessageMetrics in interface MessageMetricsListener