element-call-Github/config/otel_dev/collector-gateway.yaml

39 lines
706 B
YAML
Raw Normal View History

receivers:
2023-03-16 00:04:15 +08:00
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318
cors:
allowed_origins:
- "http://*"
allowed_headers:
- "*"
processors:
2023-03-16 00:04:15 +08:00
batch:
timeout: 1s
resource:
attributes:
- key: test.key
value: "test-value"
action: insert
exporters:
2023-03-16 00:04:15 +08:00
logging:
loglevel: info
jaeger:
endpoint: jaeger-all-in-one:14250
tls:
insecure: true
extensions:
2023-03-16 00:04:15 +08:00
health_check:
pprof:
endpoint: :1888
zpages:
endpoint: :55679
service:
2023-03-16 00:04:15 +08:00
extensions: [pprof, zpages, health_check]
pipelines:
traces:
receivers: [otlp]
processors: [batch, resource]
exporters: [logging, jaeger]