jlevesy / prometheus-elector

Leader election for prometheus
25 stars 2 forks source link

Elector is not logging an error when it fails to resync a config #31

Closed jlevesy closed 1 year ago

jlevesy commented 1 year ago

What's wrong?

When a resync is triggered by a config change, it looks like elector is silently dropping the event if for example the configuration file isn't valid from a syntax point of view.

If that's true, we should a least log something.

jlevesy commented 1 year ago

That being said, we're logging something. So either I'm stupid, or I should double check the logging setup.

jlevesy commented 1 year ago

Okay I just missed it. Closing