【发布时间】: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