public interface MetricRegistry
| 限定符和类型 | 方法和说明 |
|---|---|
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 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–2022 The Apache Software Foundation. All rights reserved.