prymitive / karma

Alert dashboard for Prometheus Alertmanager
https://demo.karma-dashboard.io/
Apache License 2.0
2.33k stars 175 forks source link

Feature request - Reload configuration on changes #5479

Open SkalaNetworks opened 1 year ago

SkalaNetworks commented 1 year ago

Hi,

I have an environment with tons of alertmanagers that can come and go. The karma configuration is handled purely in GitOps. This means that any change in the configuration is applied directly on the configmap in my Kubernetes. The thing is Karma doesn't care about configuration changes, it doesn't monitor the config file for new updates.

Having this feature would greatly help in my workflow. Right now we need to restart Karma on every configuration change. I'm willing to make a PR for this functionality if it is deemed of interest.

Thanks.

agrrh commented 1 month ago

Not sure why Karma itself should be responsible for handling external config updates.

I'd propose to rely on existing entrypoint scripts or orchestrator features/addons: