diff --git a/manifests/prometheus/prometheus-additional-scrape-configs.yaml b/manifests/prometheus/prometheus-additional-scrape-configs.yaml index 156cfc6..0471954 100644 --- a/manifests/prometheus/prometheus-additional-scrape-configs.yaml +++ b/manifests/prometheus/prometheus-additional-scrape-configs.yaml @@ -3,6 +3,8 @@ kind: ConfigMap metadata: name: prometheus-additional-scrape-configs namespace: monitoring + labels: + app.kubernetes.io/name: prometheus data: additional-scrape-configs.yaml: | - job_name: gitea @@ -10,4 +12,13 @@ data: metrics_path: /metrics static_configs: - targets: - - git.dvirlabs.com + - gitea-http.gitea.svc.cluster.local:3000 + authorization: + type: Bearer + credentials: prometheusmetricstoken + + - job_name: vault + metrics_path: /metrics + static_configs: + - targets: + - vault.dev-tools.svc.cluster.local:8200