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
Since the uptime_format field was added into the system input plugin as Counter, I have tag uptime_format, not field as expected in my prometheus output. The reason is the following: string value can not be Counter. By the way, prometheus doesn't support string values, in that case system_uptime_format have to be skipped.
Bug report
Since the uptime_format field was added into the system input plugin as Counter, I have tag uptime_format, not field as expected in my prometheus output. The reason is the following: string value can not be Counter. By the way, prometheus doesn't support string values, in that case system_uptime_format have to be skipped.
Relevant telegraf.conf:
[[inputs.system]]
[[outputs.prometheus_client]]
listen = "0.0.0.0:9126"
System info:
telegraf 1.5 rc1
Steps to reproduce:
Expected behavior:
system_uptime{host="host_name"} 186665
Actual behavior:
system_uptime{host="cfg01",uptime_format="2 days, 3:51"} 186665
The text was updated successfully, but these errors were encountered: