opentelemetry-lua icon indicating copy to clipboard operation
opentelemetry-lua copied to clipboard

lua-protobuf dependency upgrade

Open fatihusta opened this issue 1 year ago • 1 comments

Hi, Is it possible to upgrade lua-protobuf version? Current version is 0.3.3 last commit is 3 years ago, last released version is 0.5.1. Why I need this? I'm using another project and the project depends lua-protobuf-0.5.0 also depends opentelemetry-lua. So issue was came from this point. I fixed with workaround solution. But now I can't use this workaround with new version of apisix.

Will not remove installed versions of lua-protobuf.
Removing them would break dependencies for:
lua-resty-etcd 1.10.5-0
opentelemetry-lua 0.2-3

Use --force to force removal (warning: this may break modules).
Failed removing.

fatihusta avatar May 12 '24 13:05 fatihusta

I use apache/apisix:3.9.1-debian run a demo, to test the opentelemetry plugin, it works fine.

In the docker image, there are three lua-protobuf version installed:

image

also the three so library:

image

And the nginx worker use the highest version lua-protobuf library, su nobody -s /bin/sh -c "pmap -p 49":

image

yangxikun avatar May 13 '24 15:05 yangxikun

I removed my old solution and I tested again. It looks fixed with lua-protbuf-5.0. Thank you for your response.

fatihusta avatar May 23 '24 14:05 fatihusta