Closed like-inspur closed 11 months ago
Can you show sample metrics you are getting but don't expect and a relevant part of your config please?
Hi,
The internal metrics are registered when plugins are created during start up (e.g. in models/running_*.go
). When a user reloads telegraf due to a config change, new plugins, or additions, will get registered during the reload. Plugins that were removed are not handled. We do not have any state of what metrics previously existed but no longer. We also would not want to remove all internal metrics during a reload as that would break backwards compatibility and reset all of a user's metrics.
I think this will need to stay as-is, and as such I will close this.
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.26.0 Docker 19.03.14
Docker
No response
Steps to reproduce
...
Expected behavior
internal metric not include plugin which has been removed
Actual behavior
internal metric stil include plugin which has been removed
Additional info
No response