25 lines
604 B
YAML
25 lines
604 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: prometheus-additional-scrape-configs
|
|
namespace: monitoring
|
|
labels:
|
|
app.kubernetes.io/name: prometheus
|
|
data:
|
|
additional-scrape-configs.yaml: |
|
|
- job_name: gitea
|
|
honor_labels: true
|
|
metrics_path: /metrics
|
|
static_configs:
|
|
- targets:
|
|
- 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
|