forked from newrelic/nri-flex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prometheus-istio-env-example.yml
30 lines (30 loc) · 1.12 KB
/
prometheus-istio-env-example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
### we can use k8s environment variables to target istio services
###
---
integrations:
- name: nri-flex
# interval: 30s
config:
name: prometheusIstioFlex
apis:
- name: promIstioCitadel
url: http://$$ISTIO_CITADEL_PORT_9093_TCP_ADDR:9093/metrics
prometheus:
enable: true
# raw: true ### if enabled will create an event per prometheus metric retaining all metadata for the metric (same as unflatten)
############### by default Flex will try to flatten the metrics where possible to reduce the events being generated
- name: promIstioMixer
url: http://$$ISTIO_TELEMETRY_SERVICE_HOST:9093/metrics
prometheus:
enable: true
- name: promIstioGalley
url: http://$$ISTIO_GALLEY_PORT_9093_TCP_ADDR:9093/metrics
prometheus:
enable: true
# - name: prometheusIstioPilot
# url: istio pilot address
# prometheus:
# enable: true
# sample_filter:
# - .*: GAUGE ## remove all gauge metrics
# - .*: COUNTER ## remove all counter metrics