Skip to content

Commit

Permalink
Merge pull request #1610 from shalk/patch-1
Browse files Browse the repository at this point in the history
Update loadbalancing-exporter.rst
  • Loading branch information
aurbiztondo-splunk authored Nov 22, 2024
2 parents 3e7f39e + ff4ffce commit ab6f336
Showing 1 changed file with 23 additions and 23 deletions.
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

0 comments on commit ab6f336

Please sign in to comment.