Metric blacklisting syntax
search cancel

Metric blacklisting syntax

book

Article ID: 269219

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

Trying to remove a few of the metrics reported under my Kafka servers generated through remote JMX extension.
While trying to do it, it worked for metric having single set of name however, its not working for Parent-child setup. 

What syntax can I use to remove it?

It worked when used below syntax under the blacklist option

confluent.metadata*.*

Removing both confluent.metadata & confluent.metadata.service

Environment

Release : 23.1

Resolution

Use the following ObjectName patterns in the mbeanPatternsBlackList agent property:

kafka.cluster:type=Partition,name=AtMinIsr*   (match if name starts with AtMinIsr)
kafka.cluster:type=Partition,name=AtMinIsr,*   (match if name is AtMinIsr plus zero or more other keys)
kafka.cluster:type=Partition,name="AtMinIsr*"
kafka.cluster:type=Partition,name=\"AtMinIsr*\"