saltstack-formulas / prometheus-formula

Manage a Prometheus installation
Other
27 stars 51 forks source link

[BUG] prometheus config Auto Discovery, service prometheus fails #47

Open willianops opened 4 years ago

willianops commented 4 years ago

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).

noelmcloughlin commented 4 years ago

Discussed at https://github.com/uyuni-project/uyuni/issues/2082

noelmcloughlin commented 3 years ago

@willianops Is this a issue for this formula?

mdschmitt commented 2 years ago

Looks like upstream Prometheus added this in https://github.com/prometheus/prometheus/pull/8190. @willianops can you verify that this is indeed fixed for you?