From a2ca5a1bf201a5d8b998f7cfa7a753dc6330f8f2 Mon Sep 17 00:00:00 2001 From: Brandon Johnson Date: Thu, 24 Oct 2024 15:59:13 -0400 Subject: [PATCH] add capability to spec --- proto/opamp.proto | 3 +++ specification.md | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/proto/opamp.proto b/proto/opamp.proto index 86c77d9..3cf78e7 100644 --- a/proto/opamp.proto +++ b/proto/opamp.proto @@ -708,6 +708,9 @@ enum AgentCapabilities { // know the configured interval and should not make assumptions about it. // Status: [Development] AgentCapabilities_ReportsHeartbeat = 0x00002000; + // The will report AvailableComponents via the AgentToServer.available_components field. + // Status: [Development] + AgentCapabilities_ReportsAvailableComponents = 0x00004000; // Add new capabilities here, continuing with the least significant unused bit. } diff --git a/specification.md b/specification.md index 6e18ea8..e313522 100644 --- a/specification.md +++ b/specification.md @@ -698,7 +698,8 @@ See [CustomMessage](#custommessage) message for details. Status: [Development] -A message listing the components available in the Agent. +A message listing the components available in the Agent. This field SHOULD be +reported if and only if the ReportsAvailableComponents capability is set. See [AvailableComponents](#availablecomponents-message) message for details.