Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[prometheus-snmp-exporter] add selfMonitor #4912

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tkit
Copy link
Contributor

@tkit tkit commented Oct 15, 2024

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.

## If true, a ServiceMonitor CRD is created for a prometheus operator
## https://github.com/coreos/prometheus-operator for blackbox-exporter itself
##
selfMonitor:
enabled: false
additionalMetricsRelabels: {}
additionalRelabeling: []
labels: {}
path: /metrics
scheme: http
tlsConfig: {}
interval: 30s
scrapeTimeout: 30s

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

prometheus-targets

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant