Skip to content

Instantly share code, notes, and snippets.

@rajeshksv
Created August 21, 2023 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajeshksv/3ee8a40d97455383a8039714cb1333cf to your computer and use it in GitHub Desktop.
Save rajeshksv/3ee8a40d97455383a8039714cb1333cf to your computer and use it in GitHub Desktop.
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