Qichao Chu created KAFKA-16129: ---------------------------------- Summary: Add integration test for KIP-977 Key: KAFKA-16129 URL: https://issues.apache.org/jira/browse/KAFKA-16129 Project: Kafka Issue Type: Task Reporter: Qichao Chu
*{{metrics.verbosity}}* will be a new dynamic config introduced to control the verbosity(fan-out rate) of the metrics. It's a config with JSON format specifying the condition controlling fan-out of the metrics. If the value *{{high}}* is set for the *{{level}}* key of the configured JSON(see below for example values), high fan-out tags(e.g. {*}{{partition}}{*})will be added to metrics specified by the {{*name*}} filter and will apply to all the topics that meet the conditions in the {{*filters*}} section. In the *{{low}}* settings, these tags will be assigned with an empty value. We elected to make it central so that this implementation can be generalized in the future either into a library, or allow other means for centralized control. More details: https://cwiki.apache.org/confluence/display/KAFKA/KIP-977%3A+Partition-Level+Throughput+Metrics The following 3 tests will be done for common metrics collectors: JMX, Prometheus, and OpenTelemetry. # The partition tag can be observed from metrics if high verbosity is used # The partition tag should result in an empty string or be filtered out by the metrics collector if default verbosity is used # Dynamically setting the verbosity can result in the behavior defined in the above tests -- This message was sent by Atlassian Jira (v8.20.10#820010)