【问题标题】:Why does the Opentelemetry exporter to NewRelic is failing为什么 Opentelemetry 导出器到 NewRelic 失败
【发布时间】:2022-11-04 06:40:00
【问题描述】:

我已经设置了一个 Opentelemetry 收集器,它将指标导出到 New Relic,但它给了我以下错误:

exporterhelper/queued_retry.go:215  Exporting failed. Will retry the request after interval.
{
    "kind": "exporter",
    "name": "otlp",
    "error": "rpc error: code = DeadlineExceeded desc = context deadline exceeded",
    "interval": "7.202545441s"
}

这是我的collector.yaml 文件:

receivers:
  otlp:
    protocols:
      grpc:
      http:

exporters:
  logging:
    loglevel: debug
  awsxray:
  awsemf:
    namespace: PaymentService
  otlp:
    endpoint: ${NEW_RELIC_OPENTELEMETRY_ENDPOINT}
    headers:
      api-key: ${NEW_RELIC_LICENSE_KEY}

service:
  pipelines:
    traces:
      receivers: [otlp]
      exporters: [otlp]
    metrics:
      receivers: [otlp]
      exporters: [otlp]
    logs:
      receivers: [otlp]
      exporters: [otlp]

我不确定这是 Opentelemetry 问题还是 New Relic 问题。

【问题讨论】:

    标签: monitoring metrics newrelic open-telemetry


    【解决方案1】:

    如果该消息是断断续续的,则很可能与收集器或新遗物无关。互联网存在间歇性问题 - 客户网络可能暂时存在连接问题或吞吐量低导致请求超时。如错误消息中所示,请求将在一段时间后重试。 如果消息是一致的,他们可能错误地配置了 otlp 导出器,或者他们的网络可能没有正确配置为连接到新的 relic OTLP 端点。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-12-25
      • 2018-10-14
      • 1970-01-01
      • 1970-01-01
      • 2021-04-06
      • 1970-01-01
      • 2021-07-25
      • 1970-01-01
      相关资源
      最近更新 更多