mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
49 lines
975 B
YAML
49 lines
975 B
YAML
extensions:
|
|
headers_setter:
|
|
headers:
|
|
- action: upsert
|
|
key: x-oneuptime-token
|
|
from_context: x-oneuptime-token
|
|
|
|
processors:
|
|
|
|
receivers:
|
|
otlp:
|
|
protocols:
|
|
grpc:
|
|
endpoint: 0.0.0.0:4317
|
|
include_metadata: true
|
|
http:
|
|
endpoint: 0.0.0.0:4318
|
|
include_metadata: true
|
|
cors:
|
|
allowed_origins: ["*"]
|
|
allowed_headers: ["*"]
|
|
|
|
|
|
|
|
exporters:
|
|
otlphttp:
|
|
endpoint: "http://${env:SERVER_INGESTOR_HOSTNAME}:${env:INGESTOR_PORT}/otlp"
|
|
headers: {"Content-Type": "application/json"}
|
|
auth:
|
|
authenticator: headers_setter
|
|
|
|
service:
|
|
# telemetry:
|
|
# logs:
|
|
# level: "debug"
|
|
extensions: [ headers_setter ]
|
|
pipelines:
|
|
traces:
|
|
receivers: [otlp]
|
|
processors: []
|
|
exporters: [otlphttp]
|
|
metrics:
|
|
receivers: [otlp]
|
|
processors: []
|
|
exporters: [otlphttp]
|
|
logs:
|
|
receivers: [otlp]
|
|
processors: []
|
|
exporters: [otlphttp] |