Class: Aws::PrometheusService::Types::RandomCutForestConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::PrometheusService::Types::RandomCutForestConfiguration
- Defined in:
- gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb
Overview
Configuration for the Random Cut Forest algorithm used for anomaly detection in time-series data.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#ignore_near_expected_from_above ⇒ Types::IgnoreNearExpected
Configuration for ignoring values that are near expected values from above during anomaly detection.
-
#ignore_near_expected_from_below ⇒ Types::IgnoreNearExpected
Configuration for ignoring values that are near expected values from below during anomaly detection.
-
#query ⇒ String
The Prometheus query used to retrieve the time-series data for anomaly detection.
-
#sample_size ⇒ Integer
The number of data points sampled from the input stream for the Random Cut Forest algorithm.
-
#shingle_size ⇒ Integer
The number of consecutive data points used to create a shingle for the Random Cut Forest algorithm.
Instance Attribute Details
#ignore_near_expected_from_above ⇒ Types::IgnoreNearExpected
Configuration for ignoring values that are near expected values from above during anomaly detection.
2251 2252 2253 2254 2255 2256 2257 2258 2259 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2251 class RandomCutForestConfiguration < Struct.new( :query, :shingle_size, :sample_size, :ignore_near_expected_from_above, :ignore_near_expected_from_below) SENSITIVE = [] include Aws::Structure end |
#ignore_near_expected_from_below ⇒ Types::IgnoreNearExpected
Configuration for ignoring values that are near expected values from below during anomaly detection.
2251 2252 2253 2254 2255 2256 2257 2258 2259 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2251 class RandomCutForestConfiguration < Struct.new( :query, :shingle_size, :sample_size, :ignore_near_expected_from_above, :ignore_near_expected_from_below) SENSITIVE = [] include Aws::Structure end |
#query ⇒ String
The Prometheus query used to retrieve the time-series data for anomaly detection.
Random Cut Forest queries must be wrapped by a supported PromQL aggregation operator. For more information, see Aggregation operators on the Prometheus docs website.
Supported PromQL aggregation operators: avg, count,
group,
max, min, quantile, stddev, stdvar, and sum.
2251 2252 2253 2254 2255 2256 2257 2258 2259 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2251 class RandomCutForestConfiguration < Struct.new( :query, :shingle_size, :sample_size, :ignore_near_expected_from_above, :ignore_near_expected_from_below) SENSITIVE = [] include Aws::Structure end |
#sample_size ⇒ Integer
The number of data points sampled from the input stream for the Random Cut Forest algorithm. The default number is 256 consecutive data points.
2251 2252 2253 2254 2255 2256 2257 2258 2259 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2251 class RandomCutForestConfiguration < Struct.new( :query, :shingle_size, :sample_size, :ignore_near_expected_from_above, :ignore_near_expected_from_below) SENSITIVE = [] include Aws::Structure end |
#shingle_size ⇒ Integer
The number of consecutive data points used to create a shingle for the Random Cut Forest algorithm. The default number is 8 consecutive data points.
2251 2252 2253 2254 2255 2256 2257 2258 2259 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2251 class RandomCutForestConfiguration < Struct.new( :query, :shingle_size, :sample_size, :ignore_near_expected_from_above, :ignore_near_expected_from_below) SENSITIVE = [] include Aws::Structure end |