Deepak-0822 opened a new issue, #12650: URL: https://github.com/apache/apisix/issues/12650
### Description Hi Team, I’m trying to enable the OpenTelemetry (OTEL) plugin in APISIX to collect traces. I followed the official documentation, but I’m not receiving any traces in the OTEL Collector pods. APISIX is running on an EKS cluster. I’ve attached the OTEL Collector logs, APISIX warning logs, and the documentation links I followed for your reference. Could you please help me identify what might be missing or misconfigured? **DOCS link** https://apisix.apache.org/docs/apisix/plugins/opentelemetry/ **APISIX logs:** apisix-admin.ingress-apisix.svc:9180 "DELETE /apisix/admin/global_rules/opentelemetry HTTP/1.1" 404 39 0.010 "-" "axios/1.11.0" - - - "http://apisix-admin.ingress-apisix.svc:9180" 10.62.80.33 - - [04/Oct/2025:18:06:28 +0000] apisix-admin.ingress-apisix.svc:9180 "PUT /apisix/admin/global_rules/elasticsearch-logger HTTP/1.1" 200 616 0.016 "-" "axios/1.11.0" - - - "http://apisix-admin.ingress-apisix.svc:9180" 10.62.80.33 - - [04/Oct/2025:18:06:28 +0000] apisix-admin.ingress-apisix.svc:9180 "PUT /apisix/admin/global_rules/prometheus HTTP/1.1" 200 178 0.022 "-" "axios/1.11.0" - - - "http://apisix-admin.ingress-apisix.svc:9180" [lua] opentelemetry.lua:312: phase_func(): plugin_metadata is required for opentelemetry plugin to working properly, client: 10.62.80.202, server: _, request: "GET / HTTP/1.1", host: "10.62.80.5:9080" 2025/10/04 18:06:42 [warn] 49#49: *975119 [lua] opentelemetry.lua:312: phase_func(): plugin_metadata is required for opentelemetry plugin to working properly, client: 10.62.80.81, server: _, request: "GET / HTTP/1.1", host: "10.62.80.5:9080" **OTL logs** kubectl logs -n ingress-apisix deploy/otel-collector 2025-10-03T18:21:44.718Z info [email protected]/service.go:211 Starting otelcol-contrib... {"resource": {"service.instance.id": "35854bec-ebfd-4f80-b3e4-e5ccb634eeee", "service.name": "otelcol-contrib", "service.version": "0.135.0"}, "Version": "0.135.0", "NumCPU": 2} 2025-10-03T18:21:44.718Z info extensions/extensions.go:41 Starting extensions... {"resource": {"service.instance.id": "35854bec-ebfd-4f80-b3e4-e5ccb634eeee", "service.name": "otelcol-contrib", "service.version": "0.135.0"}} 2025-10-03T18:21:44.718Z info [email protected]/otlp.go:121 Starting GRPC server {"resource": {"service.instance.id": "35854bec-ebfd-4f80-b3e4-e5ccb634eeee", "service.name": "otelcol-contrib", "service.version": "0.135.0"}, "otelcol.component.id": "otlp", "otelcol.component.kind": "receiver", "endpoint": "[::]:4317"} 2025-10-03T18:21:44.719Z info [email protected]/otlp.go:179 Starting HTTP server {"resource": {"service.instance.id": "35854bec-ebfd-4f80-b3e4-e5ccb634eeee", "service.name": "otelcol-contrib", "service.version": "0.135.0"}, "otelcol.component.id": "otlp", "otelcol.component.kind": "receiver", "endpoint": "[::]:4318"} 2025-10-03T18:21:44.719Z info [email protected]/service.go:234 Everything is ready. Begin running and processing data. {"resource": {"service.instance.id": "35854bec-ebfd-4f80-b3e4-e5ccb634eeee", "service.name": "otelcol-contrib", "service.version": "0.135.0"}} ### Environment - APISIX version (run `apisix version`): - Operating system (run `uname -a`): - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): - APISIX Dashboard version, if relevant: - Plugin runner version, for issues related to plugin runners: - LuaRocks version, for installation issues (run `luarocks --version`): -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
