在 openTelemetry 收集器中平衡导出到 jaeger

问题描述

我有 documentation 所说的配置

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

收集器产生错误。 如何配置收集器以平衡导出器以在不同后端发送请求?

info exporterhelper/queued_retry.go:276 导出失败。将在间隔后重试请求。 {"component_kind": "exporter","component_type": "jaeger","component_name": "jaeger","error": "无法通过 Jaeger 导出器推送跟踪数据:rpc 错误代码 = 不可用 desc = 上次连接错误: 连接错误: desc = "transport: Error while dialing dial tcp: address ipv4:firstHost:14250,secondHost:14250: too many冒号"","interval": "30.456378855s"}

解决方法

它在 golang grpc 客户端中不起作用。我使用了 openTelemetry load balancing 另一种选择 - 使用 kubernetes 来平衡对后端的请求。

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...