open-telemetry / opentelemetry-python-contrib

OpenTelemetry instrumentation for Python modules
https://opentelemetry.io
Apache License 2.0
709 stars 592 forks source link

Make protobuf compatible with 3 and 4 for opentelemetry-exporter-prometheus-remote-write #1563

Open matejsp opened 1 year ago

matejsp commented 1 year ago

Based on the latest release of open-telemetry for python it is possible to generate proto to be compatible with 3 and 4.

https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.15.0

I would really like to have the same compatibility for contrib packages.

https://github.com/open-telemetry/opentelemetry-python/pull/3070

srikanthccv commented 1 year ago

One should be able to follow the same steps from the core repo and use the proto-gen script to update. Feel free to send a PR.