Ad Widget

Collapse

Prometheus specific pattern filtering

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Yannick Croteau
    Junior Member
    • Sep 2020
    • 8

    #1

    Prometheus specific pattern filtering

    Hello,

    I'm translating the Kakfa JMX pattern to pass throug Prometheus JMX pattern in serverless situation as AWS. Almost all working well, except for the pattern filtering.

    In the case I do the topic autodiscover, all is fine, because the Prometheus line have an unique line who get the specification like


    kafka_server_BrokerTopicMetrics_Count{name="BytesR ejectedPerSec",topic="test",}

    But when I'm trying to get the general topic as

    kafka_server_BrokerTopicMetrics_Count{name="BytesR ejectedPerSec",}

    I've got an error as :

    Click image for larger version

Name:	Zabbix_many_topics.png
Views:	171
Size:	42.1 KB
ID:	416946


    The search have a general grep comportement who get all line who contain the text.

    I'm searching to get only the "specific" line. I'm looking in the doc, but I don't find who to do this, (or I don't understand).

    Thank you for your help!

    Yannick
Working...