AgentConfigOverride

class oci.apm_config.models.AgentConfigOverride(**kwargs)

Bases: object

Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.

Methods:

__init__(**kwargs)

Initializes a new AgentConfigOverride object with values from keyword arguments.

Attributes:

agent_filter

Gets the agent_filter of this AgentConfigOverride.

override_map

Gets the override_map of this AgentConfigOverride.

__init__(**kwargs)

Initializes a new AgentConfigOverride object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • agent_filter (str) – The value to assign to the agent_filter property of this AgentConfigOverride.

  • override_map (dict(str, str)) – The value to assign to the override_map property of this AgentConfigOverride.

property agent_filter

Gets the agent_filter of this AgentConfigOverride. The string that defines the Agent Filter expression.

Returns

The agent_filter of this AgentConfigOverride.

Return type

str

property override_map

Gets the override_map of this AgentConfigOverride. A map whose key is a substitution variable specified within the configuration’s body. For example, if below was specified in the configuration’s body {{ isJfrEnabled | default false }} Then a valid map key would be “isJfrEnabled”. The value is typically different than the default specified in the configuration’s body. Thus, in this example, the map entry could be “isJfrEnabled”: true

Returns

The override_map of this AgentConfigOverride.

Return type

dict(str, str)