Created
August 21, 2023 09:39
-
-
Save rajeshksv/3ee8a40d97455383a8039714cb1333cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
evaluation_interval: 1m | |
scrape_interval: 30s | |
scrape_timeout: 10s | |
scrape_configs: | |
- job_name: "prometheus" | |
metrics_path: /metrics | |
static_configs: | |
- targets: ['localhost:9090'] | |
- job_name: 'envoy-stats' | |
kubernetes_sd_configs: | |
- role: pod | |
relabel_configs: | |
- action: keep | |
regex: '.*-envoy-prom' | |
source_labels: | |
- __meta_kubernetes_pod_container_port_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment