open-telemetry/opamp-spec

Explain why OpAMP client/server implementations may expose generated Protobufs in the API

tigrannajaryan opened this issue · 2 comments

Otel is planning to adopt a policy that say you cannot expose generated Protobufs in language SDK APIs: open-telemetry/opentelemetry-specification#3420

We need to make it clear why we believe this policy should not apply to OpAMP implementations.

To document the decision OpAMP Workgroup made earlier:

The Workgroup chose to guarantee generated code compatibility for its 1.0. Unlike Otel SDKs, there is no separation of API and SDK in OpAMP implementations and OpAMP Workgroup believes hiding Protobuf-generated code in OpAMP implementation is not necessary (and would create a ton of unnecessary work to add wrappers).

Closing this, the policy is clarified.