AgentExtensionHandlerConfiguration¶
- class oci.stack_monitoring.models.AgentExtensionHandlerConfiguration(**kwargs)¶
Bases:
objectSpecific resource mapping configurations for Agent Extension Handlers.
Methods:
__init__(**kwargs)Initializes a new AgentExtensionHandlerConfiguration object with values from keyword arguments.
Attributes:
Gets the collectd_resource_name_config of this AgentExtensionHandlerConfiguration.
[Required] Gets the collector_types of this AgentExtensionHandlerConfiguration.
Gets the handler_properties of this AgentExtensionHandlerConfiguration.
Gets the metric_mappings of this AgentExtensionHandlerConfiguration.
Gets the metric_name_config of this AgentExtensionHandlerConfiguration.
Gets the metric_upload_interval_in_seconds of this AgentExtensionHandlerConfiguration.
Gets the telegraf_resource_name_config of this AgentExtensionHandlerConfiguration.
Gets the telemetry_resource_group of this AgentExtensionHandlerConfiguration.
- __init__(**kwargs)¶
Initializes a new AgentExtensionHandlerConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
collector_types (list[str]) – The value to assign to the collector_types property of this AgentExtensionHandlerConfiguration.
metric_upload_interval_in_seconds (int) – The value to assign to the metric_upload_interval_in_seconds property of this AgentExtensionHandlerConfiguration.
telemetry_resource_group (str) – The value to assign to the telemetry_resource_group property of this AgentExtensionHandlerConfiguration.
telegraf_resource_name_config (oci.stack_monitoring.models.TelegrafResourceNameConfigurationDetails) – The value to assign to the telegraf_resource_name_config property of this AgentExtensionHandlerConfiguration.
collectd_resource_name_config (oci.stack_monitoring.models.CollectdResourceNameConfigurationDetails) – The value to assign to the collectd_resource_name_config property of this AgentExtensionHandlerConfiguration.
metric_name_config (oci.stack_monitoring.models.MetricNameConfigurationDetails) – The value to assign to the metric_name_config property of this AgentExtensionHandlerConfiguration.
metric_mappings (list[oci.stack_monitoring.models.AgentExtensionHandlerMetricMappingDetails]) – The value to assign to the metric_mappings property of this AgentExtensionHandlerConfiguration.
handler_properties (list[oci.stack_monitoring.models.AgentExtensionHandlerConfigurationProperty]) – The value to assign to the handler_properties property of this AgentExtensionHandlerConfiguration.
- property collectd_resource_name_config¶
Gets the collectd_resource_name_config of this AgentExtensionHandlerConfiguration.
- Returns
The collectd_resource_name_config of this AgentExtensionHandlerConfiguration.
- Return type
oci.stack_monitoring.models.CollectdResourceNameConfigurationDetails
- property collector_types¶
[Required] Gets the collector_types of this AgentExtensionHandlerConfiguration. List of collector/plugin names.
- Returns
The collector_types of this AgentExtensionHandlerConfiguration.
- Return type
list[str]
- property handler_properties¶
Gets the handler_properties of this AgentExtensionHandlerConfiguration. List of handler configuration properties
- Returns
The handler_properties of this AgentExtensionHandlerConfiguration.
- Return type
list[oci.stack_monitoring.models.AgentExtensionHandlerConfigurationProperty]
- property metric_mappings¶
Gets the metric_mappings of this AgentExtensionHandlerConfiguration. List of AgentExtensionHandlerMetricMappingDetails.
- Returns
The metric_mappings of this AgentExtensionHandlerConfiguration.
- Return type
list[oci.stack_monitoring.models.AgentExtensionHandlerMetricMappingDetails]
- property metric_name_config¶
Gets the metric_name_config of this AgentExtensionHandlerConfiguration.
- Returns
The metric_name_config of this AgentExtensionHandlerConfiguration.
- Return type
- property metric_upload_interval_in_seconds¶
Gets the metric_upload_interval_in_seconds of this AgentExtensionHandlerConfiguration. Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- Returns
The metric_upload_interval_in_seconds of this AgentExtensionHandlerConfiguration.
- Return type
int
- property telegraf_resource_name_config¶
Gets the telegraf_resource_name_config of this AgentExtensionHandlerConfiguration.
- Returns
The telegraf_resource_name_config of this AgentExtensionHandlerConfiguration.
- Return type
oci.stack_monitoring.models.TelegrafResourceNameConfigurationDetails
- property telemetry_resource_group¶
Gets the telemetry_resource_group of this AgentExtensionHandlerConfiguration. Resource group string; if not specified, the resource group string will be generated by the handler.
- Returns
The telemetry_resource_group of this AgentExtensionHandlerConfiguration.
- Return type
str