Created
July 21, 2021 14:06
-
-
Save jpkrohling/f4d1fd1a3b650a8f2c2c8b715e791cab to your computer and use it in GitHub Desktop.
Load balancer config for otelcol
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/loadbalancer: | |
protocols: | |
grpc: | |
endpoint: localhost:4317 | |
otlp/backend-1: | |
protocols: | |
grpc: | |
endpoint: localhost:55690 | |
otlp/backend-2: | |
protocols: | |
grpc: | |
endpoint: localhost:55700 | |
otlp/backend-3: | |
protocols: | |
grpc: | |
endpoint: localhost:55710 | |
otlp/backend-4: | |
protocols: | |
grpc: | |
endpoint: localhost:55720 | |
processors: | |
exporters: | |
logging: | |
loadbalancing: | |
protocol: | |
otlp: | |
timeout: 1s | |
insecure: true | |
resolver: | |
static: | |
hostnames: | |
- localhost:55690 | |
- localhost:55700 | |
- localhost:55710 | |
- localhost:55720 | |
service: | |
pipelines: | |
traces/loadbalancer: | |
receivers: | |
- otlp/loadbalancer | |
processors: [] | |
exporters: | |
- loadbalancing | |
traces/backend-1: | |
receivers: | |
- otlp/backend-1 | |
processors: [] | |
exporters: | |
- logging | |
traces/backend-2: | |
receivers: | |
- otlp/backend-2 | |
processors: [] | |
exporters: | |
- logging | |
traces/backend-3: | |
receivers: | |
- otlp/backend-3 | |
processors: [] | |
exporters: | |
- logging | |
traces/backend-4: | |
receivers: | |
- otlp/backend-4 | |
processors: [] | |
exporters: | |
- logging | |
logs/loadbalancer: | |
receivers: | |
- otlp/loadbalancer | |
processors: [] | |
exporters: | |
- loadbalancing | |
logs/backend-1: | |
receivers: | |
- otlp/backend-1 | |
processors: [] | |
exporters: | |
- logging | |
logs/backend-2: | |
receivers: | |
- otlp/backend-2 | |
processors: [] | |
exporters: | |
- logging | |
logs/backend-3: | |
receivers: | |
- otlp/backend-3 | |
processors: [] | |
exporters: | |
- logging | |
logs/backend-4: | |
receivers: | |
- otlp/backend-4 | |
processors: [] | |
exporters: | |
- logging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment