Created
August 7, 2025 08:56
-
-
Save Kovah/dd32c014fd48074e0b676d25654735bf to your computer and use it in GitHub Desktop.
Laravel Open Telemetry: OTel collector configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
receivers: | |
otlp: | |
protocols: | |
grpc: | |
endpoint: 0.0.0.0:4317 | |
http: | |
endpoint: 0.0.0.0:4318 | |
processors: | |
batch: | |
timeout: 10s | |
send_batch_size: 1024 | |
send_batch_max_size: 2048 | |
memory_limiter: | |
limit_mib: 500 | |
spike_limit_mib: 265 | |
check_interval: 5s | |
exporters: | |
prometheusremotewrite: | |
endpoint: "http://url-to-your-mimir/api/v1/push" | |
tls: | |
insecure: true | |
otlphttp/loki: | |
endpoint: "http://url-to-your-loki:3100/otlp" | |
tls: | |
insecure: true | |
otlp/tempo: | |
endpoint: "url-to-your-tempo:4317" | |
tls: | |
insecure: true | |
service: | |
pipelines: | |
metrics: | |
receivers: [otlp] | |
processors: [memory_limiter, batch] | |
exporters: [prometheusremotewrite] | |
logs: | |
receivers: [otlp] | |
processors: [memory_limiter, batch] | |
exporters: [otlphttp/loki] | |
traces: | |
receivers: [otlp] | |
processors: [memory_limiter, batch] | |
exporters: [otlp/tempo] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment