25 lines
588 B
YAML
25 lines
588 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: prometheus-additional-scrape-configs
|
|
namespace: monitoring
|
|
type: Opaque
|
|
stringData:
|
|
additional-scrape-configs.yaml: |
|
|
- job_name: 'gitea'
|
|
metrics_path: /metrics
|
|
scheme: http
|
|
static_configs:
|
|
- targets:
|
|
- gitea-http.gitea.svc.cluster.local:3000
|
|
authorization:
|
|
type: Bearer
|
|
credentials: prometheusmetricstoken
|
|
|
|
- job_name: 'vault'
|
|
metrics_path: /metrics
|
|
scheme: http
|
|
static_configs:
|
|
- targets:
|
|
- vault.dev-tools.svc.cluster.local:8200
|