Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions proto/opamp.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,11 @@ message AgentConfigFile {
// Optional MIME Content-Type that describes what's in the body field, for
// example "text/yaml".
string content_type = 2;

// Optional key/value pairs that provide additional metadata for this config
// file or section. Agents may use this field to report arbitrary attributes
// associated with the file.
repeated KeyValue attributes = 3;
}

/////////////////////////////////////////////////////////////////////////////////////
Expand Down
8 changes: 8 additions & 0 deletions specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -2554,6 +2554,7 @@ following structure:
message AgentConfigFile {
bytes body = 1;
string content_type = 2;
repeated KeyValue attributes = 3;
}
```

Expand All @@ -2567,6 +2568,13 @@ reported in the Effective Configuration in the Agent's status report may be used
for example by the Server to visualize the reported configuration nicely in a
UI.

attributes is an optional field. It contains key/value pairs that provide
additional metadata for this configuration file or section. Agents MAY use
attributes to report arbitrary properties associated with a configuration file,
for example the origin of the file, the component that produced it, or other
Agent type-specific metadata. The interpretation of these attributes is Agent
type-specific and is outside the concerns of the OpAMP protocol.

#### Security Considerations

Remote Configuration is a potentially dangerous functionality that may be
Expand Down