微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决在 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 来平衡对后端的请求。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。