Skip to content
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

Eliminate oneof Body from AgentToServer #44

Conversation

tigrannajaryan
Copy link
Member

This eliminates oneof Body from AgentToServer and puts all fields in AgentToServer
which allows to include multiple messages in one AgentToServer. This can reduce
the number of roundtrips and makes it uniform with ServerToAgent.

Resolves #43

This eliminates oneof Body from AgentToServer and puts all fields in AgentToServer
which allows to include multiple messages in one AgentToServer. This can reduce
the number of roundtrips and makes it uniform with ServerToAgent.

Resolves open-telemetry#43
@tigrannajaryan tigrannajaryan requested a review from a team November 30, 2021 17:55
tigrannajaryan added a commit to tigrannajaryan/opamp-go that referenced this pull request Nov 30, 2021
This eliminates oneof Body from AgentToServer and puts all fields in AgentToServer
which allows to include multiple messages in one AgentToServer. This can reduce
the number of roundtrips and makes it uniform with ServerToAgent.

Implements changes corresponding to spec changes open-telemetry/opamp-spec#44
tigrannajaryan added a commit to tigrannajaryan/opamp-go that referenced this pull request Nov 30, 2021
This eliminates oneof Body from AgentToServer and puts all fields in AgentToServer
which allows to include multiple messages in one AgentToServer. This can reduce
the number of roundtrips and makes it uniform with ServerToAgent.

Implements changes corresponding to spec changes open-telemetry/opamp-spec#44
@tigrannajaryan
Copy link
Member Author

cc @djaglowski if you want to have a look before I merge.

Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tigrannajaryan tigrannajaryan merged commit aa7ac98 into open-telemetry:main Nov 30, 2021
@tigrannajaryan tigrannajaryan deleted the remove-agenttoserver-oneofbody branch November 30, 2021 20:22
tigrannajaryan added a commit to open-telemetry/opamp-go that referenced this pull request Dec 1, 2021
This eliminates oneof Body from AgentToServer and puts all fields in AgentToServer
which allows to include multiple messages in one AgentToServer. This can reduce
the number of roundtrips and makes it uniform with ServerToAgent.

Implements changes corresponding to spec changes open-telemetry/opamp-spec#44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Eliminate oneof Body from AgentToServer
4 participants