openebs / monitoring

OpenEBS Monitoring add-on. A set of Grafana, Prometheus, and alert manager plugins.
Apache License 2.0
26 stars 20 forks source link

Setting additional labels is not possible #102

Open Mosibi opened 10 months ago

Mosibi commented 10 months ago

I would like to be able to set additional labels on all or certain component in the template directory.

The additional labels can be for example be used in situations where an other "kube-prometheus-stack" deployment is used which requires certain labels to pick up for example a "podMonitor" or "serviceMonitor"

Mosibi commented 10 months ago

I can create a pull-request with the possibility to set the additional labels and I think the most easy way is to allow setting extra labels that are added to openebs-monitoring.labels in templates/_helpers.tpl. Any other ideas/preferences?