Add prometheus-additional-scrape-configs
This commit is contained in:
parent
31ac5b1db8
commit
b697d750b2
@ -23,6 +23,7 @@ server:
|
|||||||
hosts:
|
hosts:
|
||||||
- prometheus.dvirlabs.com
|
- prometheus.dvirlabs.com
|
||||||
tls: []
|
tls: []
|
||||||
|
additionalScrapeConfigsSecret: prometheus-additional-scrape-configs
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|||||||
@ -0,0 +1,17 @@
|
|||||||
|
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
|
||||||
Loading…
x
Reference in New Issue
Block a user