| Constructor and Description |
|---|
AggregatingEmitter(Set<io.confluent.telemetry.config.v2.AggregationRule> aggregationRule,
Emitter delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
emitMetric(SinglePointMetric metric)
Emits a metric to all configured
Exporter
objects. |
void |
flushAggregates() |
boolean |
shouldEmitMetric(Keyed key)
Tests whether this metric object could actually be emitted based on its key.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmaybeEmitMetricpublic boolean shouldEmitMetric(Keyed key)
EmittershouldEmitMetric in interface Emitterkey - metric key to test againstpublic boolean emitMetric(SinglePointMetric metric)
EmitterExporter
objects.emitMetric in interface Emittermetric - to emitpublic void flushAggregates()