we use CheckMKs Prometheus special agent to collect metrics. A simple query like “prometheus_tsdb_head_series_created_total{job=“prometheus”}” doesn’t show any perf-o-meter data, like bars or charts. We only see the metric. What is missing?
What do you mean by metric? perf-o-meter’s are not performance data.
if the above PromQL creates more than one entry/row (for example metric with two different labels) then this will not work. Only single metric is supported.
@Anders: thanks, I noticed that. I meant (single) metrics, where CheckMK automatically visualizes them into graphs.
@gstolz: Ok, so I need to find a (predefined) metric from the list, which “translates” my custom metric correctly into graphs with labels, units, etc? Thats very complicated, indeed. Can I find your mkp package somewhere on official places? Tried https://checkmk.com/integrations so far.
no official places yet, just my post above where I attached it. But for security reasons you can just unzip the .mkp and compare the file to the prometheus_custom from your checkmk instance. If the version matches, you’ll see that the diff is just 2 or 3 lines