Baoyuantop commented on issue #9921: URL: https://github.com/apache/apisix/issues/9921#issuecomment-4044161105
When injecting additional attributes, the APISIX opentelemetry plugin always calls `attr.string(key, val)` regardless of the actual type of the variable. However, `resty.ngxvar` returns a number for some variables (such as `request_time`, `upstream_response_time`, and `bytes_sent`), ultimately triggering a type error during protobuf string value encoding. -- 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]
