-
Notifications
You must be signed in to change notification settings - Fork 37
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
Set instance_uid by Server on conflict or request for generation #63
Set instance_uid by Server on conflict or request for generation #63
Conversation
Yeah, this is unfortunate. To avoid this problem perhaps we can do slightly differently. Instead of using empty Another approach is for the terminating proxy to NOT multiplex connections with empty incoming
I am not sure how this will solve the problem. Can you expand? |
Co-authored-by: Tigran Najaryan <[email protected]>
I thought about it and I am leaning towards that approach. Will update the PR
This would merely inform that it is not possible to override the agent instance_id. I think the idea proposed above (temporary id's and explicit flag) is a better one |
@@ -357,6 +383,17 @@ enum ServerCapabilities { | |||
} | |||
``` | |||
|
|||
#### agent_identification |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that "new_instance_uid" would be too specific field and wanted something with a bit broader scope so I thought about "AgentIdentification", though also wondering about "AgentIdentifcationOverride", "AgentIdentificationOffer" or so. If you had anything else in mind @tigrannajaryan I will gladly accept it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there anything else that we may want to add to AgentIdentification message in the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there anything else that we may want to add to AgentIdentification message in the future?
I don't have anything on my mind right now though I'm actually wondering if instead creating AgentIdentification
, a model used in AgentDescription
could be followed (so repeated KeyValue). I don't really have a strong use case but wondering if this would give an opportunity for the server to send some attributes back (both identifying and non-identifying) that would be persisted by the agent. Not sure if it makes much sense though (since server could always attach them later itself if needed)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add keyvalue list as an additional field later if needed. I think what we have for now is fine.
@pmm-sumo will you be able to submit a corresponding change in opamp-go client and server implementations? |
@tigrannajaryan sure thing, will have it later today |
* Add support for detached signatures (open-telemetry#69) Resolves open-telemetry#65 - Added signature field to DownloadableFile message. - Added a short explanation about how the signature field can be used for detached signatures. * Set instance_uid by Server on conflict or request for generation (open-telemetry#63) This is a first approach towards open-telemetry#56 It assumes that Agent's `instance_uid` can always be updated by Server (since resolving potential issues with conflicts is important). There's a gap with multiplexed websocket connections which perhaps could be handled by adding Agent capability flag indicating if overrides can be accepted or not Co-authored-by: Tigran Najaryan <[email protected]> Co-authored-by: Przemek Maciolek <[email protected]>
Implements OpAMP Spec change open-telemetry/opamp-spec#63
Implements OpAMP Spec change open-telemetry/opamp-spec#63
Implements OpAMP Spec change open-telemetry/opamp-spec#63
This is a first approach towards #56
It assumes that Agent's
instance_uid
can always be updated by Server (since resolving potential issues with conflicts is important).There's a gap with multiplexed websocket connections which perhaps could be handled by adding Agent capability flag indicating if overrides can be accepted or not