Class AgentConfig
Agent configuration for any Agent complying with the OpAMP specification.
Assembly: OCI.DotNetSDK.Apmconfig.dll
Syntax
public class AgentConfig : Config
Properties
Config
Declaration
[JsonProperty(PropertyName = "config")]
public AgentConfigMap Config { get; set; }
Property Value
MatchAgentsWithAttributeKey
Declaration
[JsonProperty(PropertyName = "matchAgentsWithAttributeKey")]
public List<string> MatchAgentsWithAttributeKey { get; set; }
Property Value
Type |
Description |
List<string> |
The agent attribute KEY by which an Agent configuration is matched to an agent.
All agent configuration objects share the same key. It is [ServiceName, service.name] by default.
The attribute VALUE corresponding to this KEY is in the matchAgentsWithAttributeValue field.
|
MatchAgentsWithAttributeValue
Declaration
[JsonProperty(PropertyName = "matchAgentsWithAttributeValue")]
public string MatchAgentsWithAttributeValue { get; set; }
Property Value
Type |
Description |
string |
The agent attribute VALUE by which an agent configuration is matched to an agent.
Each agent configuration object must specify a different value.
The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
|
Overrides
Declaration
[JsonProperty(PropertyName = "overrides")]
public AgentConfigOverrides Overrides { get; set; }
Property Value