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

Add ReportsRemoteConfig capability #115

Conversation

tigrannajaryan
Copy link
Member

@tigrannajaryan tigrannajaryan commented Jul 28, 2022

Add ReportsRemoteConfig capability

Resolves #112

All other status fields have a corresponding capability bit except this
one. This results in a non-consistent looking implementation that
has to rely on AcceptsRemoteConfig bit instead to figure out if
RemoteConfigStatus reporting is expected, for example:
https://github.com/open-telemetry/opamp-go/pull/105/files#diff-620a7a2b42e4a4c60a590b0cca50053006e4555c6e70f38dece2f3a6d7ed1338R214

Adding this bit makes the status fields and their corresponding
capabilities bits consistent.

@tigrannajaryan tigrannajaryan requested a review from a team July 28, 2022 18:03
Resolves open-telemetry#112

All other status fields have a corresponding capability bit except this
one. This results in a non-consistent looking implementation that
has to rely on AcceptsRemoteConfig bit instead to figure out if
RemoteConfigStatus reporting is expected, for example:
https://github.com/open-telemetry/opamp-go/pull/105/files#diff-620a7a2b42e4a4c60a590b0cca50053006e4555c6e70f38dece2f3a6d7ed1338R214

Adding this bit makes the status fields and their corresponding
capabilities bits consistent.
@tigrannajaryan tigrannajaryan force-pushed the feature/tigran/add-reportsremoteconfig branch from 7f22cb4 to 3a9f26d Compare July 28, 2022 18:04
@tigrannajaryan tigrannajaryan merged commit cec6d2e into open-telemetry:main Jul 28, 2022
@tigrannajaryan tigrannajaryan deleted the feature/tigran/add-reportsremoteconfig branch July 28, 2022 18:58
tigrannajaryan added a commit to tigrannajaryan/opamp-go that referenced this pull request Jul 28, 2022
tigrannajaryan added a commit to open-telemetry/opamp-go that referenced this pull request Aug 15, 2022
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.

Add ReportsRemoteConfig capability
2 participants