prometheus-community / helm-charts

Prometheus community Helm charts
Apache License 2.0
5.12k stars 5.02k forks source link

[prometheus-snmp-exporter] add selfMonitor #4912

Closed tkit closed 1 month ago

tkit commented 1 month ago

What this PR does / why we need it

Added a selfMonitor configuration to allow the prometheus-operator to monitor the SNMP Exporter itself. This is inspired by the implementation of prometheus-blackbox-exporter and is largely similar in content.

https://github.com/prometheus-community/helm-charts/blob/0529c1011be5ffd26419ef941920368ebdc2ee6f/charts/prometheus-blackbox-exporter/values.yaml#L273-L285 https://github.com/prometheus-community/helm-charts/blob/0529c1011be5ffd26419ef941920368ebdc2ee6f/charts/prometheus-blackbox-exporter/templates/selfservicemonitor.yaml

prometheus-targets

Checklist