Class: DatadogAPIClient::V2::AWSMetricsConfig
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AWSMetricsConfig
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/aws_metrics_config.rb
Overview
AWS Metrics Collection config.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#automute_enabled ⇒ Object
Enable EC2 automute for AWS metrics.
-
#collect_cloudwatch_alarms ⇒ Object
Enable CloudWatch alarms collection.
-
#collect_custom_metrics ⇒ Object
Enable custom metrics collection.
-
#collect_service_quotas ⇒ Object
Enable Service Quotas collection.
-
#enabled ⇒ Object
Enable AWS metrics collection.
-
#metric_name_filters ⇒ Object
AWS CloudWatch metric name filters.
-
#namespace_filters ⇒ Object
AWS Metrics namespace filters.
-
#resource_type_tag_filters ⇒ Object
AWS Metrics collection resource type tag filters list.
-
#tag_filters ⇒ Object
AWS Metrics collection tag filters list.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
53 54 55 |
# File 'lib/datadog_api_client/v2/models/aws_metrics_config.rb', line 53 def additional_properties @additional_properties end |
#automute_enabled ⇒ Object
Enable EC2 automute for AWS metrics. Defaults to true.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/aws_metrics_config.rb', line 25 def automute_enabled @automute_enabled end |
#collect_cloudwatch_alarms ⇒ Object
Enable CloudWatch alarms collection. Defaults to false.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/aws_metrics_config.rb', line 28 def collect_cloudwatch_alarms @collect_cloudwatch_alarms end |
#collect_custom_metrics ⇒ Object
Enable custom metrics collection. Defaults to false.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/aws_metrics_config.rb', line 31 def collect_custom_metrics @collect_custom_metrics end |
#collect_service_quotas ⇒ Object
Enable Service Quotas collection. Defaults to false.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/aws_metrics_config.rb', line 34 def collect_service_quotas @collect_service_quotas end |
#enabled ⇒ Object
Enable AWS metrics collection. Defaults to true.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/aws_metrics_config.rb', line 37 def enabled @enabled end |
#metric_name_filters ⇒ Object
AWS CloudWatch metric name filters. Each filter applies to a single namespace.
Exactly one of include_only or exclude_only must be set on each filter.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/aws_metrics_config.rb', line 41 def metric_name_filters @metric_name_filters end |
#namespace_filters ⇒ Object
AWS Metrics namespace filters. Defaults to exclude_only.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/aws_metrics_config.rb', line 44 def namespace_filters @namespace_filters end |
#resource_type_tag_filters ⇒ Object
AWS Metrics collection resource type tag filters list. Defaults to [].
47 48 49 |
# File 'lib/datadog_api_client/v2/models/aws_metrics_config.rb', line 47 def resource_type_tag_filters @resource_type_tag_filters end |
#tag_filters ⇒ Object
AWS Metrics collection tag filters list. Defaults to [].
Deprecated in favor of resource_type_tag_filters. The two fields are mutually exclusive on an account.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/aws_metrics_config.rb', line 51 def tag_filters @tag_filters end |