Skip to content

docs/prometheus operator servicemonitor - #250

Open
sebeweiss wants to merge 2 commits into
mainfrom
docs/prometheus-operator-servicemonitor
Open

sebeweiss wants to merge 2 commits into
mainfrom
docs/prometheus-operator-servicemonitor

Conversation

@sebeweiss

Copy link
Copy Markdown
Collaborator

Changes

  • documentation/kubernetes/servicemonitor.yaml: Service with a named port plus ServiceMonitor. Comments list the values to adjust per cluster (namespace, pod selector, release label, scrape path with GEOSPATIAL_ANALYZER_URL_PREFIX).
  • documentation/metrics.md: new sections "Prometheus Operator Configuration" and "Securing the Endpoint". The opening sentence in "Kubernetes Configuration" now clarifies that the annotations only apply without the Operator.

Review note

The first commit only applies Prettier formatting to metrics.md

Side finding, not part of this PR: when a URL prefix is set, the metrics interceptor counts /metrics scrapes as regular requests (Issue #249).

Prometheus instances managed by the Operator ignore scrape annotations.
Add a Service and ServiceMonitor template and document the
cluster-specific values to adjust. Add a note on securing the
unauthenticated /metrics endpoint.
@sebeweiss
sebeweiss requested a review from MScZeFa September 8, 2026 11:03
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