Package org.nuxeo.runtime.stream
Class StreamMetricsComputation.LatencyMetric
java.lang.Object
org.nuxeo.runtime.stream.StreamMetricsComputation.LatencyMetric
- Enclosing class:
- StreamMetricsComputation
-
Field Summary
Modifier and TypeFieldDescriptionprotected final LogPartitionGroup
protected final io.dropwizard.metrics5.MetricName
protected final io.dropwizard.metrics5.MetricName
protected Latency
protected final io.dropwizard.metrics5.MetricName
protected final io.dropwizard.metrics5.MetricName
static final Object
protected boolean
protected final io.dropwizard.metrics5.MetricRegistry
-
Constructor Summary
ConstructorDescriptionLatencyMetric
(LogPartitionGroup consumer, io.dropwizard.metrics5.MetricRegistry registry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
protected io.dropwizard.metrics5.MetricName
getMetricName
(String name) protected void
protected void
boolean
update
(LogManager manager, Codec<Record> codec)
-
Field Details
-
PREFIX
-
consumer
-
registry
protected final io.dropwizard.metrics5.MetricRegistry registry -
endMetric
protected final io.dropwizard.metrics5.MetricName endMetric -
posMetric
protected final io.dropwizard.metrics5.MetricName posMetric -
lagMetric
protected final io.dropwizard.metrics5.MetricName lagMetric -
latMetric
protected final io.dropwizard.metrics5.MetricName latMetric -
latency
-
registered
protected boolean registered
-
-
Constructor Details
-
LatencyMetric
-
-
Method Details
-
getMetricName
-
registerMetrics
protected void registerMetrics() -
unregisterMetrics
protected void unregisterMetrics() -
update
-
destroy
public void destroy() -
getStream
-