AgentExtensionHandlerMetricMappingDetails¶
- class oci.stack_monitoring.models.AgentExtensionHandlerMetricMappingDetails(**kwargs)¶
Bases:
objectSpecific metric mapping configurations for Agent Extension Handlers.
Methods:
__init__(**kwargs)Initializes a new AgentExtensionHandlerMetricMappingDetails object with values from keyword arguments.
Attributes:
[Required] Gets the collector_metric_name of this AgentExtensionHandlerMetricMappingDetails.
Gets the is_skip_upload of this AgentExtensionHandlerMetricMappingDetails.
Gets the metric_upload_interval_in_seconds of this AgentExtensionHandlerMetricMappingDetails.
Gets the telemetry_metric_name of this AgentExtensionHandlerMetricMappingDetails.
- __init__(**kwargs)¶
Initializes a new AgentExtensionHandlerMetricMappingDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
collector_metric_name (str) – The value to assign to the collector_metric_name property of this AgentExtensionHandlerMetricMappingDetails.
telemetry_metric_name (str) – The value to assign to the telemetry_metric_name property of this AgentExtensionHandlerMetricMappingDetails.
is_skip_upload (bool) – The value to assign to the is_skip_upload property of this AgentExtensionHandlerMetricMappingDetails.
metric_upload_interval_in_seconds (int) – The value to assign to the metric_upload_interval_in_seconds property of this AgentExtensionHandlerMetricMappingDetails.
- property collector_metric_name¶
[Required] Gets the collector_metric_name of this AgentExtensionHandlerMetricMappingDetails. Metric name as defined by the collector.
- Returns
The collector_metric_name of this AgentExtensionHandlerMetricMappingDetails.
- Return type
str
- property is_skip_upload¶
Gets the is_skip_upload of this AgentExtensionHandlerMetricMappingDetails. Is ignoring this metric.
- Returns
The is_skip_upload of this AgentExtensionHandlerMetricMappingDetails.
- Return type
bool
- property metric_upload_interval_in_seconds¶
Gets the metric_upload_interval_in_seconds of this AgentExtensionHandlerMetricMappingDetails. 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 AgentExtensionHandlerMetricMappingDetails.
- Return type
int
- property telemetry_metric_name¶
Gets the telemetry_metric_name of this AgentExtensionHandlerMetricMappingDetails. Metric name to be upload to telemetry.
- Returns
The telemetry_metric_name of this AgentExtensionHandlerMetricMappingDetails.
- Return type
str