observability-stack/manifests/prometheus-scrape-secret/additional-scrape-configs.yaml
2025-06-26 03:07:00 +00:00

31 lines
840 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: prometheus-additional-scrape-configs
namespace: monitoring
labels:
app.kubernetes.io/name: prometheus
type: Opaque
stringData:
additional-scrape-configs.yaml: |
# This content will be auto-updated by the pipeline
- job_name: harbor
static_configs:
- targets:
- harbor-core.dev-tools.svc.cluster.local:8001
- job_name: vault
static_configs:
- targets:
- vault.dev-tools.svc.cluster.local:8200
metrics_path: /v1/sys/metrics
scheme: http
- job_name: woodpecker
static_configs:
- targets:
- woodpecker-server.dev-tools.svc.cluster.local:9000
- job_name: gitea
static_configs:
- targets:
- gitea-http.dev-tools.svc.cluster.local:3000
bearer_token: prometheusmetricstoken