AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::LookoutMetrics::Types::Metric

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb

Overview

Note:

When making an API call, you may pass Metric data as a hash:

{
  metric_name: "ColumnName", # required
  aggregation_function: "AVG", # required, accepts AVG, SUM
  namespace: "Namespace",
}

A calculation made by contrasting a measure and a dimension from your source data.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aggregation_functionString

The function with which the metric is calculated.

Returns:

  • (String)


1903
1904
1905
1906
1907
1908
1909
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 1903

class Metric < Struct.new(
  :metric_name,
  :aggregation_function,
  :namespace)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

The name of the metric.

Returns:

  • (String)


1903
1904
1905
1906
1907
1908
1909
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 1903

class Metric < Struct.new(
  :metric_name,
  :aggregation_function,
  :namespace)
  SENSITIVE = []
  include Aws::Structure
end

#namespaceString

The namespace for the metric.

Returns:

  • (String)


1903
1904
1905
1906
1907
1908
1909
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 1903

class Metric < Struct.new(
  :metric_name,
  :aggregation_function,
  :namespace)
  SENSITIVE = []
  include Aws::Structure
end