Files
UnbiasedStrata/docs/monitoring/servicemonitor.yaml
T
Robert Karl 0197ae86eb Import PolyStrata v0.1.45-poly.1 (d0cd84dc) unmodified
The upstream release tree, every tracked file byte for byte, from
https://github.com/VecSzn/PolyStrata at tag v0.1.45-poly.1, commit
d0cd84dc6bd009d1d9e2191e4e28cc76b80f1ee3. Nothing added, removed or edited;
git diff against this commit is the whole story of the fork.

Verified: the commit's tree hash equals the upstream commit's tree hash.
2026-10-17 19:34:32 -07:00

22 lines
582 B
YAML

# Kubernetes (Prometheus Operator): PolyStrata behind a Service whose port is named "http".
# The API key lives in a Secret (key "key"), sent as a bearer token.
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: strata
labels:
release: kube-prometheus-stack # whatever your Prometheus selects ServiceMonitors by
spec:
selector:
matchLabels:
app: strata
endpoints:
- port: http
path: /metrics
interval: 15s
authorization:
type: Bearer
credentials:
name: strata-api-key
key: key