-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathotelcol-config.yaml
More file actions
39 lines (36 loc) · 962 Bytes
/
otelcol-config.yaml
File metadata and controls
39 lines (36 loc) · 962 Bytes
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
receivers:
otlp:
protocols:
http:
# The default is localhost:4318
# But in docker compose, that does not bind to the docker network interface.
# So we have to use 0.0.0.0 here.
endpoint: 0.0.0.0:4318
processors:
attributes:
actions:
# Set deployment.environment.name so applications do not have to set it themselves with OTEL_RESOURCE_ATTRIBUTES.
- key: deployment.environment.name
value: local
action: upsert
exporters:
prometheusremotewrite:
endpoint: http://prometheus:9090/api/v1/write
tls:
insecure: true
resource_to_telemetry_conversion:
enabled: true
otlp/tempo:
endpoint: tempo:4317
tls:
insecure: true
service:
pipelines:
metrics:
receivers: [otlp]
processors: [attributes]
exporters: [prometheusremotewrite]
traces:
receivers: [otlp]
processors: [attributes]
exporters: [otlp/tempo]