observatorium / thanos-receive-controller

Kubernetes controller to automatically configure Thanos receive hashrings
Apache License 2.0
95 stars 45 forks source link

Store the most recent configmap checksum and timestamp as metric #20

Closed kakkoyun closed 5 years ago

kakkoyun commented 5 years ago

This PR attempts to store the most recent configmap md5 checksum, and when it happens as metrics to catch any inconsistencies between current and desired state. The same strategy is used by prometheus/alertmanager#coodinator.

Another PR sent to Thanos to expose similar metrics.

kakkoyun commented 5 years ago

cc @brancz @metalmatze @squat

squat commented 5 years ago

:tada: