open-telemetry / opamp-spec

OpAMP Specification
Apache License 2.0
108 stars 34 forks source link

Eliminate oneof Body from AgentToServer #44

Closed tigrannajaryan closed 2 years ago

tigrannajaryan commented 2 years ago

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 https://github.com/open-telemetry/opamp-spec/issues/43

tigrannajaryan commented 2 years ago

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