public class NoOpMetricRegistry extends Object implements MetricRegistry
| Modifier and Type | Field and Description |
|---|---|
static MetricRegistry |
INSTANCE |
| Constructor and Description |
|---|
NoOpMetricRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSpan(org.apache.flink.traces.SpanBuilder spanBuilder)
Add and log a
Span. |
char |
getDelimiter()
Returns the global delimiter.
|
int |
getNumberReporters()
Returns the number of registered reporters.
|
ScopeFormats |
getScopeFormats()
Returns the scope formats.
|
void |
register(org.apache.flink.metrics.Metric metric,
String metricName,
AbstractMetricGroup group)
Registers a new
Metric with this registry. |
void |
unregister(org.apache.flink.metrics.Metric metric,
String metricName,
AbstractMetricGroup group)
Un-registers the given
Metric with this registry. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricQueryServiceGatewayRpcAddresspublic static final MetricRegistry INSTANCE
public char getDelimiter()
MetricRegistrygetDelimiter in interface MetricRegistrypublic int getNumberReporters()
MetricRegistrygetNumberReporters in interface MetricRegistrypublic void register(org.apache.flink.metrics.Metric metric,
String metricName,
AbstractMetricGroup group)
MetricRegistryMetric with this registry.register in interface MetricRegistrymetric - the metric that was addedmetricName - the name of the metricgroup - the group that contains the metricpublic void unregister(org.apache.flink.metrics.Metric metric,
String metricName,
AbstractMetricGroup group)
MetricRegistryMetric with this registry.unregister in interface MetricRegistrymetric - the metric that should be removedmetricName - the name of the metricgroup - the group that contains the metricpublic void addSpan(org.apache.flink.traces.SpanBuilder spanBuilder)
MetricRegistrySpan.addSpan in interface MetricRegistrypublic ScopeFormats getScopeFormats()
MetricRegistrygetScopeFormats in interface MetricRegistryCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.