0

I have configuration as documentation says

exporters:
  jaeger:
    endpoint: "ipv4:firstHost:14250,secondHost:14250"
    balancer_name: "round_robin"

Collector produces error. How I can configure collector to balance exporter for sending requests in different backends?

info exporterhelper/queued_retry.go:276 Exporting failed. Will retry the request after interval. {"component_kind": "exporter", "component_type": "jaeger", "component_name": "jaeger", "error": "failed to push trace data via Jaeger exporter: rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing dial tcp: address ipv4:firstHost:14250,secondHost:14250: too many colons in address"", "interval": "30.456378855s"}

4

1 回答 1

0

它在 golang grpc 客户端中不起作用。我使用了 openTelemetry负载均衡另一个选项——使用 kubernetes 来平衡对后端的请求。

于 2021-04-13T14:44:16.270 回答