Class: Aws::CloudWatchOmni::Types::EvidenceMeasurement

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

Overview

This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.

What was measured in an evidence window, and how it compared to the expectation learned for it.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#baseline_is_new ⇒ Boolean

True when the expectation came from a newly learned, still-thin baseline, so the comparison is less reliable than usual.

Returns:

  • (Boolean)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#current_value ⇒ Float

The value observed in this window.

Returns:

  • (Float)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#expected_lower ⇒ Float

Lower bound of the expected range. Absent when the detector produces a point prediction instead, or bounds only the other side.

Returns:

  • (Float)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#expected_upper ⇒ Float

Upper bound of the expected range. Absent when the detector produces a point prediction instead, or bounds only the other side.

Returns:

  • (Float)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#expected_value ⇒ Float

The point prediction. Absent when the detector produces a band instead.

Returns:

  • (Float)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#period_minutes ⇒ Integer

Minutes the figures cover: the aggregation bucket width on most detectors, and the elapsed span of the episode so far on detectors that report running totals.

Returns:

  • (Integer)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#quantity ⇒ String

What was measured. Absent on a metric anomaly, where the anomaly itself already names the metric.

Returns:

  • (String)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#sample_count ⇒ Integer

How many units the figures were computed over — calls for an error rate, turns for a per-turn quantity, events for a log count, buckets for a volume drop. A rate alone cannot distinguish 5 failures in 20 calls from 5 in 20,000.

Returns:

  • (Integer)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#statistic ⇒ String

How the quantity was aggregated, as a CloudWatch statistic name — "Sum", "Average", "Maximum", "Minimum", "SampleCount" or a percentile. Absent when nothing aggregated the figure in CloudWatch's sense, as on a derived error rate or request rate.

Returns:

  • (String)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#threshold ⇒ Float

The value the comparison had to cross for this detector to fire, in the same unit as currentValue. Distinct from expectedLower and expectedUpper, which describe the learned normal range: a detector can fire on a boundary it chose rather than on the edge of that range. Absent whenever the band itself was the boundary, which is every anomaly but a trace one today.

Returns:

  • (Float)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#transform ⇒ String

Transform applied before comparison. Absent when the raw value was compared.

Returns:

  • (String)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end

#unit ⇒ String

Unit of currentValue, expectedValue, expectedLower and expectedUpper. On a metric anomaly this is the unit CloudWatch published the metric as, so it is absent when the metric was published without one, and on a counted statistic, which has no unit.

Returns:

  • (String)


3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3254

class EvidenceMeasurement < Struct.new(
  :quantity,
  :statistic,
  :unit,
  :transform,
  :current_value,
  :expected_value,
  :expected_lower,
  :expected_upper,
  :threshold,
  :sample_count,
  :period_minutes,
  :baseline_is_new)
  SENSITIVE = []
  include Aws::Structure
end