-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTLP exporter should be packaged separately per protocol #1604
Comments
for backwards compatibility and convenience, the |
Do we want to have support for Protobuf/HTTP and JSON/HTTP in the |
@lonewolf3739 |
My vote would be to split the packages as mentioned in the description, and then have |
By one package I mean as in other exporters such as Jaerger(Thrift/UDP, Proto/gRPC) and Zipkin(...) and making separate package for each encoding/protocol. I am having difficulty putting my thoughts into words. I mean something similar to what is described here https://packaging.python.org/guides/packaging-namespace-packages/ |
@lonewolf3739
|
Yes, I was wondering if it is possible to create a |
@lonewolf3739 |
@codeboten |
@lzchen yes, we should follow the same path there |
Can we have this but with namespacing have the same import paths as today? If not, can we change the import paths today so when we break up the package into multiple ones, import paths don't change? If we can do this then this is not required for GA as packages can be broken up later without any interface or import path changes. When we break down the packages, users should be able to just upgrade |
... Most users wouldn't even notice the change and the amount of effort required to get this done is a lot less than actually splitting the packages so it should help with getting to GA/RC2 a bit faster. |
@owais I agree with the namespacing, it provides a good user experience, but we would have to do everything before 1.0.0 due to the issue mentioned above. |
@codeboten suggested above that after the split |
@owais |
Right. I was just thinking how/if we can delay work and get to GA faster by shipping this change post 1.0 while not breaking interfaces or requiring users to install/remove packages to keep things working but if having "lean" packages is a requirement for 1.0 then sure it won't work. How critical is it for the packages to be lean in 1.0? Can we live with shipping a big package in 1.0 and "fixing" it later? This is not a big deal or concern for me. I was just going through to-do items and thinking if we can delay any of the work and get to GA faster. |
Currently the
opentelemetry-exporter-otlp
only supports protobufs over gRPC. Once there's support for protobuf over http and json over http, we should have a separate package for each to ensure the dependencies can be reduced to only the bare minimum for each of those packages.My proposal is to name the package based on the encoding and protocol:
opentelemetry-exporter-otlp-proto-grpc
opentelemetry-exporter-otlp-proto-http
opentelemetry-exporter-otlp-json-http
The text was updated successfully, but these errors were encountered: