public interface MetricRegistry
| 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.
|
default String |
getMetricQueryServiceGatewayRpcAddress()
Returns the gateway of the
MetricQueryService or null, if none is started. |
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. |
char getDelimiter()
int getNumberReporters()
void addSpan(org.apache.flink.traces.SpanBuilder spanBuilder)
Span.void register(org.apache.flink.metrics.Metric metric,
String metricName,
AbstractMetricGroup group)
Metric with this registry.metric - the metric that was addedmetricName - the name of the metricgroup - the group that contains the metricvoid unregister(org.apache.flink.metrics.Metric metric,
String metricName,
AbstractMetricGroup group)
Metric with this registry.metric - the metric that should be removedmetricName - the name of the metricgroup - the group that contains the metricScopeFormats getScopeFormats()
@Nullable default String getMetricQueryServiceGatewayRpcAddress()
MetricQueryService or null, if none is started.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.