2023-03-15 22:35:10 +08:00
|
|
|
receivers:
|
2023-03-16 00:04:15 +08:00
|
|
|
otlp:
|
|
|
|
protocols:
|
|
|
|
http:
|
|
|
|
endpoint: 0.0.0.0:4318
|
|
|
|
cors:
|
|
|
|
allowed_origins:
|
2023-03-24 17:31:52 +08:00
|
|
|
# This can't be '*' because opentelemetry-js uses sendBeacon which always operates
|
|
|
|
# in 'withCredentials' mode, which browsers don't allow with an allow-origin of '*'
|
|
|
|
- "http://*"
|
2023-03-16 00:04:15 +08:00
|
|
|
allowed_headers:
|
|
|
|
- "*"
|
2023-03-15 22:35:10 +08:00
|
|
|
processors:
|
2023-03-16 00:04:15 +08:00
|
|
|
batch:
|
|
|
|
timeout: 1s
|
|
|
|
resource:
|
|
|
|
attributes:
|
|
|
|
- key: test.key
|
|
|
|
value: "test-value"
|
|
|
|
action: insert
|
2023-03-15 22:35:10 +08:00
|
|
|
exporters:
|
2023-03-16 00:04:15 +08:00
|
|
|
logging:
|
|
|
|
loglevel: info
|
|
|
|
jaeger:
|
|
|
|
endpoint: jaeger-all-in-one:14250
|
|
|
|
tls:
|
|
|
|
insecure: true
|
2023-03-15 22:35:10 +08:00
|
|
|
extensions:
|
2023-03-16 00:04:15 +08:00
|
|
|
health_check:
|
|
|
|
pprof:
|
|
|
|
endpoint: :1888
|
|
|
|
zpages:
|
|
|
|
endpoint: :55679
|
2023-03-15 22:35:10 +08:00
|
|
|
service:
|
2023-03-16 00:04:15 +08:00
|
|
|
extensions: [pprof, zpages, health_check]
|
|
|
|
pipelines:
|
|
|
|
traces:
|
|
|
|
receivers: [otlp]
|
|
|
|
processors: [batch, resource]
|
|
|
|
exporters: [logging, jaeger]
|