feat: add argo scrape configs to prometheus

This commit is contained in:
cătălin 2024-02-20 13:10:34 +01:00
commit a1ea2f9a29
No known key found for this signature in database
2 changed files with 32 additions and 2 deletions

View file

@ -67,9 +67,29 @@ spec:
- ReadWriteMany
enabled: true
extraScrapeConfigs: |
- job_name: 'argocd'
- job_name: 'argocd-metrics'
static_configs:
- targets: ["argocd-server-metrics.argocd.svc.cluster.local:8083"]
- targets: ["argocd-metrics.argocd:8082"]
- job_name: 'argocd-server-metrics'
static_configs:
- targets: ["argocd-server-metrics.argocd:8083"]
- job_name: 'argocd-repo-server-metrics'
static_configs:
- targets: ["argocd-server.argocd:8084"]
- job_name: 'argocd-applicationset-controller-metrics'
static_configs:
- targets: ["argocd-applicationset-controller-metrics.argocd:8080"]
- job_name: 'argocd-dex-server'
static_configs:
- targets: ["argocd-dex-server.argocd:5558"]
- job_name: 'argocd-notifications-controller-metrics'
static_configs:
- targets: ["argocd-notifications-controller-metrics.argocd:9001"]
alertmanager:
persistence:
enabled: true

View file

@ -80,5 +80,15 @@ spec:
value: "https://auth.fukurokuju.dev/application/o/miniflux/"
- name: OAUTH2_USER_CREATION
value: "1"
- name: FETCH_YOUTUBE_WATCH_TIME
value: "1"
- name: WORKER_POOL_SIZE
value: "1"
- name: POLLING_FREQUENCY
value: "120"
- name: BATCH_SIZE
value: "25"
- name: METRICS_COLLECTOR
value: "1"
restartPolicy: Always
automountServiceAccountToken: false