Created
February 29, 2024 14:28
-
-
Save jpkrohling/0fb51c60c912f01411dfa3c8ccb69fe9 to your computer and use it in GitHub Desktop.
resilient log pipeline
This file contains 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: | |
processors: | |
batch: | |
send_batch_size: 20_000 | |
exporters: | |
otlp: | |
endpoint: http://localhost:5317 | |
sending_queue: | |
storage: file_storage | |
queue_size: 600_000 # 1000 logs/sec, 60_000 for 10m | |
retry_on_failure: | |
max_elapsed_time: 10m | |
tls: | |
insecure: true | |
extensions: | |
file_storage: | |
directory: /tmp/otc | |
service: | |
extensions: [file_storage] | |
pipelines: | |
logs: | |
receivers: [otlp] | |
processors: [batch] | |
exporters: [otlp] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment