Skip to content

Commit 426ee8c

Browse files
Restrict capabilities that may change after the first message
We made this decision a while back but forgot to update the spec: open-telemetry/opamp-go#366 (comment)
1 parent 9b30795 commit 426ee8c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

specification.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,14 @@ in the future such that old Agents automatically report that they don't
589589
support the new capability.
590590
This field MUST be always set.
591591

592-
An Agent MAY update any of its capabilities at any time after the first
593-
message. The server MUST respect the Agent's changes, ensuring that the
592+
An Agent MAY update (enabled or disable) some of its capabilities at any time after
593+
the first message. The following capabilities only may be updated after the first
594+
message:
595+
596+
- AcceptsRemoteConfig
597+
- ReportsRemoteConfig
598+
599+
The server MUST respect the Agent's capability changes, ensuring that the
594600
subsequent messages are sent correctly. If the server sends a part of its
595601
messages corresponding to a capability the Agent doesn't support, the Agent
596602
SHOULD ignore it.

0 commit comments

Comments
 (0)