AgentConfigMap¶
- class oci.apm_config.models.AgentConfigMap(**kwargs)¶
Bases:
objectCollection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the key MAY be an empty string. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration’s overrides, specify a different value for <some variable> along with the desired agent filter. Example: “agentFilter”: “ApplicationType=’Tomcat’” “overrideMap”: { “isJfrEnabled”: true }
Methods:
__init__(**kwargs)Initializes a new AgentConfigMap object with values from keyword arguments.
Attributes:
Gets the config_map of this AgentConfigMap.
- __init__(**kwargs)¶
Initializes a new AgentConfigMap object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
config_map (dict(str, AgentConfigFile)) – The value to assign to the config_map property of this AgentConfigMap.
- property config_map¶
Gets the config_map of this AgentConfigMap. Map of agent configuration files, where keys are file names.
- Returns
The config_map of this AgentConfigMap.
- Return type
dict(str, AgentConfigFile)