You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to scrape prometheus output using InfluxDB's Telegraf client, which is supported in Telegraf.
It fails with the following errors
[inputs.prometheus] Error in plugin: error reading metrics for http://localhost:9090/metrics: reading text format failed: text format parsing error in line 4: second HELP line for metric name "scaph_process_power_consumption_microwatts"
In fact metrics sent by prometheus exporter contains several HELP and TYPE definition for the same metric.
# HELP scaph_process_power_consumption_microwatts Power consumption due to the process, measured on at the topology level, in microwatts
# TYPE scaph_process_power_consumption_microwatts gauge
scaph_process_power_consumption_microwatts{cmdline="",pid="305600",exe="kworker/2:2-mm_percpu_wq"} 0
# HELP scaph_process_power_consumption_microwatts Power consumption due to the process, measured on at the topology level, in microwatts
# TYPE scaph_process_power_consumption_microwatts gauge
Expected behavior
prometheus TYPE and HELP definition for a given metric should only be defined once (prometheus/common#265)
Environment
Linux distribution version : Debian 11
Kernel version : 5.10.0-8-amd64
The text was updated successfully, but these errors were encountered:
Bug description
I am trying to scrape prometheus output using InfluxDB's Telegraf client, which is supported in Telegraf.
It fails with the following errors
In fact metrics sent by prometheus exporter contains several HELP and TYPE definition for the same metric.
Expected behavior
prometheus TYPE and HELP definition for a given metric should only be defined once (prometheus/common#265)
Environment
The text was updated successfully, but these errors were encountered: