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

Move messages in StatusReport to AgentToServer message #85

Conversation

tigrannajaryan
Copy link
Member

  • StatusReport was an unnecessary message, remaining from the time
    when we had DataToAgent which had a oneof field, and it was
    impossible to set multiple fields that together form the status.
    All its fields are moved to AgentToServer message now and can be
    set directly there (there is no longer a oneof limitation so now
    this is possible to do).
  • Moved Agent to Server State Synchronization under Status Reporting
    where it is more relevant and renamed to Agent Status Compression.

Resolves #84

@tigrannajaryan tigrannajaryan requested a review from a team May 25, 2022 21:14
@tigrannajaryan tigrannajaryan force-pushed the feature/tigran/eliminate-status-report branch from 5078a1b to 4ff0244 Compare May 25, 2022 21:20
tigrannajaryan added a commit to tigrannajaryan/opamp-go that referenced this pull request May 25, 2022
StatusReport was an unnecessary message, remaining from the time
when we had DataToAgent which had a oneof field, and it was
impossible to set multiple fields that together form the status.
All its fields are moved to AgentToServer message now and can be
set directly there (there is no longer a oneof limitation so now
this is possible to do).

Implements spec change: open-telemetry/opamp-spec#85
Copy link
Contributor

@andykellr andykellr left a comment

Choose a reason for hiding this comment

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

I like this change.

tigrannajaryan added a commit to tigrannajaryan/opamp-go that referenced this pull request May 25, 2022
StatusReport was an unnecessary message, remaining from the time
when we had DataToAgent which had a oneof field, and it was
impossible to set multiple fields that together form the status.
All its fields are moved to AgentToServer message now and can be
set directly there (there is no longer a oneof limitation so now
this is possible to do).

Implements spec change: open-telemetry/opamp-spec#85
tigrannajaryan added a commit to open-telemetry/opamp-go that referenced this pull request May 25, 2022
StatusReport was an unnecessary message, remaining from the time
when we had DataToAgent which had a oneof field, and it was
impossible to set multiple fields that together form the status.
All its fields are moved to AgentToServer message now and can be
set directly there (there is no longer a oneof limitation so now
this is possible to do).

Implements spec change: open-telemetry/opamp-spec#85
- StatusReport was an unnecessary message, remaining from the time
  when we had DataToAgent which had a oneof field, and it was
  impossible to set multiple fields that together form the status.
  All its fields are moved to AgentToServer message now and can be
  set directly there (there is no longer a oneof limitation so now
  this is possible to do).
- Moved Agent to Server State Synchronization under Status Reporting
  where it is more relevant and renamed to Agent Status Compression.

Resolves open-telemetry#84
@tigrannajaryan tigrannajaryan force-pushed the feature/tigran/eliminate-status-report branch from 4ff0244 to 7303ea8 Compare May 25, 2022 23:55
@tigrannajaryan tigrannajaryan merged commit bc9c8ba into open-telemetry:main May 26, 2022
@tigrannajaryan tigrannajaryan deleted the feature/tigran/eliminate-status-report branch May 26, 2022 00:02
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.

Move messages in StatusReport to AgentToServer message
2 participants