-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Split otlp/otlpgrpc #5027
Comments
Looks like we need to make a decision here to proceed with #5087. Currently we have
If we go with 1, we need to figure out another structure. I'm thinking of something like this:
We can also remove cc @Aneurysm9 @bogdandrutu @tigrannajaryan , any other ideas? |
From what I understand |
If we move It will change the meaning of (I get that maybe we loose in purity of separation of concerns, but again, introducing 3 new packages for |
|
OK. Looks like it is necessary if one wants to implement OTLP support in their codebase. I retract my proposal to move otlpgrpc to internal. |
So in the current |
Also this applies for all packages under |
I don't feel very strongly either way, but I find Bogdan's arguments here more convincing, +1 for moving |
I don't like the merging because:
So, we dilute the meaning of the I am not strongly opposed to merging and can accept it if there is no better approach. |
Not true unless we do way more splitting. Because we need access to the underlying protos, they need to be in the internal together. So you will always depend on the grpc anyway.
In otlpgrpc we have the Request/Response messages which are also in-memory representation of the request/response messages for OTLP protocols (grpc/http). Indeed we do have the grpc stubs as well. So what I hear from @tigrannajaryan is that the disagreement is about the |
@bogdandrutu Can you point me where in the code the current |
Yes, that's correct. I am fine with merging |
I thought a bit more about this and changed my mind. Every possible 3rd party that would want to import So, I am fine with merging |
I also think that Another option might be:
This would solve the |
Will |
|
|
Maybe consider |
Maybe use |
@tigrannajaryan what does
@dmitryax why that? did we not agree that the marshaller/unmarshaller are simple things and can be seen as encodings for the "in memory representation" as protobuf or as json. |
Hmm, I can't remember anymore :-) -- I like |
I was thinking that it's called |
Decision was made to split the pdata package into multiple per signal packages, see #4832.
As a followup we need to split the
otlp
andotlpgrpc
as well since they are part of the same current modulemodel
. Here are some options:otlp
andotlpgrpc
into the equivalent signal package decided in Split pdata into multiple packages #4832.I personally believe that the 2nd option is cleaner and gives us the "encapsulation" we need.
The text was updated successfully, but these errors were encountered: