@InterfaceStability.Evolving public interface MetricsContext
MetricsReporter
The contextLabels()
map provides following information:
_namespace
field indicating the component exposing metrics
e.g. kafka.server, kafka.consumer.
The JmxReporter
uses this as prefix for MBean namesmetrics.context.<key>=<value>
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
contextLabels()
Returns the labels for this metrics context.
|
static final String NAMESPACE