Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions gdi/opentelemetry/components/loadbalancing-exporter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,44 +70,44 @@ The following example uses a static list of host names to configure the load bal
receivers:
otlp:
protocols:
grpc:
grpc:
endpoint: localhost:4317

processors:

exporters:
loadbalancing:
routing_key: "service"
protocol:
otlp:
otlp:
# all options from the OTLP exporter are supported
# except the endpoint
timeout: 1s
timeout: 1s
resolver:
static:
hostnames:
- backend-1:4317
- backend-2:4317
- backend-3:4317
- backend-4:4317
# Notice to config a headless service DNS in Kubernetes
# dns:
# hostname: otelcol-headless.observability.svc.cluster.local

- backend-1:4317
- backend-2:4317
- backend-3:4317
- backend-4:4317
# Notice to config a headless service DNS in Kubernetes
# dns:
# hostname: otelcol-headless.observability.svc.cluster.local
service:
pipelines:
traces:
receivers:
- otlp
processors: []
exporters:
- loadbalancing
receivers:
- otlp
processors: []
exporters:
- loadbalancing
logs:
receivers:
- otlp
processors: []
exporters:
- loadbalancing
receivers:
- otlp
processors: []
exporters:
- loadbalancing

Kubernetes resolver
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Loading