akalittle opened a new issue, #7674: URL: https://github.com/apache/apisix/issues/7674
### Description When I try to implement opentelemetry into my route. There are some errors in the Lua script. <img width="443" alt="image" src="https://user-images.githubusercontent.com/38489160/184594640-4c1f4d68-24b7-4c79-bb1e-7fc1399af226.png"> ```yaml plugins: - api-breaker - authz-keycloak - basic-auth - ... - opentelemetry pluginAttrs: opentelemetry: # trace_id_source: x-api-key resource: service.name: APISIX # tenant.id: business_id collector: address: opentelemetry-deploy-opentelemetry-collector.apisix-istio.svc.cluster.local:4318 request_timeout: 3 batch_span_processor: drop_on_queue_full: false max_queue_size: 6 batch_timeout: 2 inactive_timeout: 1 max_export_batch_size: 2 ``` ``` 2022/08/15 07:28:33 [error] 49#49: *9205 lua entry thread aborted: runtime error: bad argument #1 to '?' (invalid value) stack traceback: coroutine 0: [C]: in function 'gsub' ...deps/share/lua/5.1/opentelemetry/trace/exporter/otlp.lua:18: in function 'hex2bytes' ...deps/share/lua/5.1/opentelemetry/trace/exporter/otlp.lua:50: in function 'export_spans' ...are/lua/5.1/opentelemetry/trace/batch_span_processor.lua:18: in function 'process_batches' ...are/lua/5.1/opentelemetry/trace/batch_span_processor.lua:46: in function <...are/lua/5.1/opentelemetry/trace/batch_span_processor.lua:29>, context: ngx.timer, client: 127.0.0.6, server: 0.0.0.0:9080 ``` ### Environment apache/apisix:2.15.0-alpine apache/apisix-ingress-controller:1.4.1 docker.io/bitnami/etcd:3.5.4-debian-11-r14 Kubernetes cluster version: Client Version: v1.24.0 Kustomize Version: v4.5.4 Server Version: v1.21.12-gke.2200 -- 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: notifications-unsubscr...@apisix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org