Skip to content

Conversation

PeterF778
Copy link
Contributor

@PeterF778 PeterF778 commented Aug 23, 2022

Separating the previous notion of Agent into Agent (as a managed entity) and Client (as an endpoint of OpAMP).

We have heard from a few people that it was confusing and unclear how the Agent and the Client are related. This makes clarifications and makes the Client and the Agent more distinct in the spec.

@PeterF778 PeterF778 requested a review from a team August 23, 2022 23:49
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 23, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: PeterF778 / name: Peter Findeisen (0d1d7b0)

Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

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

Thanks @PeterF778
This is very useful. I am not entirely sure the renamings work fine in all places. I wonder also what @andykellr thinks.

Also, no changes in the Packages section? Do you think it should stay as is?

specification.md Outdated
message is a
[binary serialized Protobuf](https://developers.google.com/protocol-buffers/docs/encoding)
message. The Agent sends AgentToServer Protobuf messages and the Server sends
message. The Client sends AgentToServer Protobuf messages and the Server sends
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we also rename AgentToServer to ClientToServer?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, the protocol is still very much Agent-oriented. The Server is almost exclusively concerned about the Agent capabilities, configuration and status, and hardly sees the Client as an independent entity - even when asking for Agent upgrade, it happens magically behind the scene, even though we know that it requires some sort of a supervisor.

@PeterF778
Copy link
Contributor Author

Thanks @tigrannajaryan for reviewing.
I tried to be careful with the changes, but it is a long document, and I might have missed some places. Yes, I looked carefully at the Packages section, and I thought all was good there.
I'll have a small update soon.

@portertech
Copy link

Thank you for this 👍 I recently found myself stumbling over words when explaining how OpAMP works with/within the OT Agent 😅

@tigrannajaryan
Copy link
Member

Thank you for this 👍 I recently found myself stumbling over words when explaining how OpAMP works with/within the OT Agent 😅

@portertech do you think the changes introduced by this PR make it clearer?

@tigrannajaryan
Copy link
Member

@andykellr @portertech I wonder what you guys think about this change. As the author of the current text I am probably biased towards the usage of "Agent" everywhere, so I may not be the best person to tell if this change makes the spec more clear (I think it definitely does in some places, but I am worried that overall it may result in some confusion because of using 2 different concepts).
It would be great to know your opinion.

@andykellr andykellr self-requested a review September 6, 2022 18:03
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 agree with the issues Tigran highlighted and my only other piece of feedback was a small grammatical change.

Thank you for taking the time to go through the spec and identify all of the necessary changes. I expanded all of the unchanged sections as I review the changes and I believe all of the Agent => Client changes are appropriate and I did not find any that were overlooked.

@PeterF778
Copy link
Contributor Author

Thank you @andykellr for the review. I agree with yours and @tigrannajaryan suggestions. I'll make the corrections next week.

@tigrannajaryan
Copy link
Member

@andykellr I will keep this open for you to also review.

@tigrannajaryan tigrannajaryan changed the title Separating the notions of Agent and Client Separate the notions of Agent and Client Sep 22, 2022
@tigrannajaryan tigrannajaryan merged commit 2bd2b8c into open-telemetry:main Sep 22, 2022
@tigrannajaryan
Copy link
Member

Merged. Thanks @PeterF778 !

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.

4 participants