Skip to content

Commit f0e4483

Browse files
authored
Example of prometheus scraping istio endpoints (#233)
1 parent ac9eb3f commit f0e4483

File tree

1 file changed

+24
-0
lines changed
  • terraform-environments/aws/dev/helm/kube-prometheus-stack

1 file changed

+24
-0
lines changed

terraform-environments/aws/dev/helm/kube-prometheus-stack/values.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@ prometheus:
1010
resources:
1111
requests:
1212
storage: 25Gi
13+
# additionalScrapeConfigs:
14+
# # Istio scrap endpoints
15+
# # Will need this for Kiali
16+
# # Doc: https://istio.io/latest/docs/ops/integrations/prometheus/#option-2-customized-scraping-configurations
17+
# - job_name: 'istiod'
18+
# kubernetes_sd_configs:
19+
# - role: endpoints
20+
# namespaces:
21+
# names:
22+
# - istio-system
23+
# relabel_configs:
24+
# - source_labels: [__meta_kubernetes_service_name, __meta_kubernetes_endpoint_port_name]
25+
# action: keep
26+
# regex: istiod;http-monitoring
27+
# - job_name: 'envoy-stats'
28+
# metrics_path: /stats/prometheus
29+
# kubernetes_sd_configs:
30+
# - role: pod
31+
32+
# relabel_configs:
33+
# - source_labels: [__meta_kubernetes_pod_container_port_name]
34+
# action: keep
35+
# regex: '.*-envoy-prom'
36+
# # End of istio scrape endpoints
1337
grafana:
1438
adminPassword: prom-operator
1539
ingress:

0 commit comments

Comments
 (0)