-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Hello.
I have unneded Kafka metrics. For example:
# HELP kafka_network_RequestMetrics_50thPercentile Attribute exposed for management kafka.network:name=ResponseQueueTimeMs,type=RequestMetrics,attribute=50thPercentile
# TYPE kafka_network_RequestMetrics_50thPercentile untyped
kafka_network_RequestMetrics_50thPercentile{name="LocalTimeMs",request="AddOffsetsToTxn"} 0.0
kafka_network_RequestMetrics_50thPercentile{name="LocalTimeMs",request="AddPartitionsToTxn"} 0.0
I want delete it from /metrics page.
I tried the following:
blacklistObjectNames: ["kafka.log:*", "kafka.network:name=ResponseQueueTimeMs,type=RequestMetrics,attribute=50thPercentile", "kafka.cluster:type=Partition,*"]
rules:
- pattern: ".*"
also:
excludeObjectNameAttributes:
"kafka.network:type=RequestMetrics":
- 50thPercentile
Also:
rules:
- pattern: "(.*)"
name: "$1"
action: drop
labels:
__name__: ".*(_50thPercentile)$"
and many more options. And none of them work.
Version 1.1.0
Please help me.
Also, please add relevant information about exclude/drop metrics.
Thank you.
Reactions are currently unavailable