MetricConfig¶
Creating Instance¶
MetricConfig
takes no arguments to be created.
MetricConfig
is created when:
- many places (FIXME)
RecordingLevel¶
MetricConfig
uses INFO
recording level by default (when created) that can be changed using recordLevel.
recordLevel¶
MetricConfig recordLevel(
Sensor.RecordingLevel recordingLevel)
recordLevel
sets the recordingLevel to the given RecordingLevel
.
recordLevel
is used when:
KafkaAdminClient
is requested tocreateInternal
KafkaConsumer
is requested to buildMetricsKafkaProducer
is createdKafkaStreams
(Kafka Streams) is requested togetMetrics
StreamsMetricsImpl
(Kafka Streams) is requested toaddClientLevelImmutableMetric
,addClientLevelMutableMetric
,addStoreLevelMutableMetric
Server
utility is used to buildMetricsConfig