The exporter endpoint is not correctly resolved when specified with a leading http://
otel_exporter {
endpoint http://collector.collector.svc.cluster.local.:4317;
}
The logs will contain
OTel export failure: DNS resolution failed for http://collector.collector.svc.cluster.local.:4317: C-ares status is not ARES_SUCCESS qtype=A name=http://collector.collector.svc.cluster.local.:4317 is_balancer=0: Domain name not found
Expected behavior
Nginx sends traces to the OTEL collector
Your environmentnginx/1.27.0
Additional contextAccording to the OTEL documentation, the http
prefix must be supported also for GRPC.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4