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
It looks like the only time we collect the resources is during Init during start up. The result of that is the resources to montior and a debug message about the total number of targets.
Are you suggesting some sort of timer to refresh that list? Is this something you want to put up a PR for?
I'd suggest making this opt-in with a config option like:
## Resource refresh interval## Interval to refresh the targets used for montioring. Disabled by default## and when passed a zero value.# refresh_interval = "0s"
Relevant telegraf.conf
Logs from Telegraf
System info
Commit d7f3a0e, Ubuntu 22.04, Kubernetes 1.29
Docker
No response
Steps to reproduce
Expected behavior
New resources should be monitored by Telegraf without the need for a restart (which adds the new resource).
Actual behavior
New resource is not monitored until restart.
Additional info
There should be some kind of watch mechanism to include new resources.
The text was updated successfully, but these errors were encountered: