-
Notifications
You must be signed in to change notification settings - Fork 2
/
collector.yaml
45 lines (40 loc) · 959 Bytes
/
collector.yaml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
extensions:
health_check:
receivers:
otlp:
endpoint: localhost:4317
auth:
oidc:
issuer_url: https://dex.dex.svc.cluster.local:5556/dex
audience: test
issuer_ca_path: /etc/pki/ca-trust/source/anchors/service-ca.crt
username_claim: email
processors:
# this processor will read an env var named OTEL_RESOURCE (key=value,key2=value2) and add each key-value pair as a resource attribute
resourcedetection:
detectors:
- env
# this routing table will always route spans to the 'jaeger' exporter
routing:
default_exporters:
- jaeger
from_attribute: X-Tenant
table:
- value: test
exporters:
- jaeger
exporters:
jaeger:
endpoint: localhost:14250
insecure: true
service:
extensions: [health_check]
pipelines:
traces:
receivers:
- otlp
processors:
- resourcedetection
- routing
exporters:
- jaeger