The labels for the two sides of the division need to match exactly.
If they match 1:1 except for additional labels, then you can use
xxx / on (foo,bar) yyy # foo,bar are the matching labels
or
xxx / ignoring (baz,qux) zzz # baz,qux are the labels to ignore
If they match N:1 then you need to u
I tried the same i m not getting any data post adding below
sum(kafka_consumergroup_lag{cluster=~"$cluster",consumergroup=~
"$consumergroup",topic=~"$topic"}) by (consumergroup, topic) / count(up{job=
"prometheus.scrape.kafka_exporter"})
On Saturday, May 25, 2024 at 11:53:44 AM UTC+5:30 Ben Koch
2 matches
Mail list logo