-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
internal gather does not work #7083
Comments
Thanks for the bug report! gather_errors is a global metric that's collected across all inputs. I've tested locally with this config and I do get input-specific errors from internal_gather. Here's an example:
I'd need to see your specific config for systemd_units to know if the input name in your query is correct. Let me know what you think. Thanks |
Here is my full config:
Running on rather old system without systemd and with old redis version
However, if i check it in influxdb with
It will always be 0. Same goes for prometheus client. |
Thanks! We've managed to reproduce the problem locally and I've committed a fix for this (#7077). It will be in the 1.13.4 release. Thanks! |
Relevant telegraf.conf:
N/A, internal metric
System info:
Debian 10, Telegraf 1.13.2 (git: HEAD 6dad859)
Steps to reproduce:
Break any plugin (ie run systemd_units on system w/o systemd)
Expected behavior:
SELECT mean("errors") FROM "internal_gather" WHERE ("input" = 'systemd_units') AND $timeFilter GROUP BY time($__interval) fill(null) should return value > 0
Actual behavior:
SELECT mean("errors") FROM "internal_gather" WHERE ("input" = 'systemd_units') AND $timeFilter GROUP BY time($__interval) fill(null) always return 0
Additional info:
internal_agent gather_errors works and shows gather errors, but per-plugin internal_gather do not.
The text was updated successfully, but these errors were encountered: