prometheus-formula icon indicating copy to clipboard operation
prometheus-formula copied to clipboard

[BUG] prometheus config Auto Discovery, service prometheus fails

Open willianops opened this issue 4 years ago • 3 comments

I have a Suse Manager 4.0.9 Installed, when I activate in prometheus configuration Auto Discovery, the service prometheus fall.

Output promtool

promtool check config prometheus.yml

Checking prometheus.yml FAILED: parsing YAML file prometheus.yml: yaml: unmarshal errors: line 44: field uyuni_sd_configs not found in type config.plain

Config added with Auto Discovery flag on. (added automatic by suse manager).

  • job_name: 'mgr-clients' uyuni_sd_configs:
    • host: https://nameserver.XXX.net username: admin password: XXX

willianops avatar Oct 30 '20 18:10 willianops