Ad Widget

Collapse

Zabbix Prometheus metric with tag display on one graph

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abialas
    Junior Member
    • Dec 2019
    • 1

    #1

    Zabbix Prometheus metric with tag display on one graph

    Hi,

    I have a Prometheus metrics with same name but with a different tags. Something like this:

    sample_metric_time_seconds_max{thread="KafkaConsum erDestination{consumerDestinationName='sample', partitions=100}.container-0-C-1"}
    sample_metric_time_seconds_max{thread="KafkaConsum erDestination{consumerDestinationName='sample', partitions=100}.container-0-C-2"}
    sample_metric_time_seconds_max{thread="KafkaConsum erDestination{consumerDestinationName='sample', partitions=100}.container-0-C-3"}
    sample_metric_time_seconds_max{thread="KafkaConsum erDestination{consumerDestinationName='sample', partitions=100}.container-0-C-4"}

    I want to have these metrics on one graph but one series per thread label. How can I achieve this?
Working...