Details
-
Task
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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.
The parser will have the following validation responsibilities:
- Validate that the config conforms to JSON format.
- Validate that the level field is configured correctly with a set level
- Validate that the names field pattern is acceptable to java.util.regex-compatible
- Validate that the filters field conforms to JSON map format
- Validate that all the filter patterns are acceptable to java.util.regex-compatible
- Validate that no other field exists in the config
After parsing and validating the config, the parser should:
- Generate a config object which contains the level, names, and filter fields. There should exist a default verbosity level too.
- Inside the object, the predicates should also be generated to allow fast querying of the rules
- Overwrite/update the existing predicates if the config is updated
The config object should:
- Determine the verbosity level supplied with the topic name and the metrics name
- If not defined, fall back to the default config level
Attachments
Issue Links
- is a child of
-
KAFKA-15447 Partition Level Throughput Metrics
- Open