This repository was archived by the owner on Aug 23, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ConfigSetup() during the Prometheus input plugin Start() metho…
…d to fix configuration reset During the startup process, the prometheus module is first configured using `prometheus.ConfigSetup()` and `prometheus.ConfigProcess()`, then the Handler is started. The problem is that `ConfigSetup()` is called from `Start()`, which makes the configuration re-initialize to its default values. Removing the call from `Start()` solve the issue.
- Loading branch information