Class: Aws::CloudWatchOmni::Types::RunMetric
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::RunMetric
- Defined in:
- gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb
Overview
RunMetric is a union - when making an API calls you must set exactly one of the members.
RunMetric is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RunMetric corresponding to the set member.
A metric that a gate measures over the run's cases.
Defined Under Namespace
Classes: EvaluatorAverage, FixedCases, NotScoredRate, PassRate, RegressedCases, RegressedScores, Unknown, UnpairedCaseRate
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#evaluator_average ⇒ Types::EvaluatorRef
The average score of a numeric evaluator.
-
#fixed_cases ⇒ Types::Unit
The cases that fail on the control and pass on the target, of the cases both runs have, each judged on both sides by the rule's criteria on the evaluators both runs have.
-
#not_scored_rate ⇒ Types::Unit
The share of cases with no score.
-
#pass_rate ⇒ Types::Unit
The share of cases that pass.
-
#regressed_cases ⇒ Types::Unit
The cases that pass on the control and fail on the target, of the cases both runs have, each judged on both sides by the rule's criteria on the evaluators both runs have.
-
#regressed_scores ⇒ Types::Unit
Fails the run when, for any case that both runs scored, on any evaluator that both runs have, the target scored worse than the control: lower, or higher for an evaluator whose scoreDirection is LOWER_IS_BETTER on the target run.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#unpaired_case_rate ⇒ Types::Unit
The share of cases that are not judged on both the target and the control.
Instance Attribute Details
#evaluator_average ⇒ Types::EvaluatorRef
The average score of a numeric evaluator. Higher is better, so the gate takes min, unless the evaluator's scoreDirection is LOWER_IS_BETTER, when it takes max.
8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291 class RunMetric < Struct.new( :pass_rate, :not_scored_rate, :evaluator_average, :regressed_cases, :fixed_cases, :regressed_scores, :unpaired_case_rate, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PassRate < RunMetric; end class NotScoredRate < RunMetric; end class EvaluatorAverage < RunMetric; end class RegressedCases < RunMetric; end class FixedCases < RunMetric; end class RegressedScores < RunMetric; end class UnpairedCaseRate < RunMetric; end class Unknown < RunMetric; end end |
#fixed_cases ⇒ Types::Unit
The cases that fail on the control and pass on the target, of the cases both runs have, each judged on both sides by the rule's criteria on the evaluators both runs have. Higher is better. Requires a control (RULE_CONTROL_REQUIRED).
8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291 class RunMetric < Struct.new( :pass_rate, :not_scored_rate, :evaluator_average, :regressed_cases, :fixed_cases, :regressed_scores, :unpaired_case_rate, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PassRate < RunMetric; end class NotScoredRate < RunMetric; end class EvaluatorAverage < RunMetric; end class RegressedCases < RunMetric; end class FixedCases < RunMetric; end class RegressedScores < RunMetric; end class UnpairedCaseRate < RunMetric; end class Unknown < RunMetric; end end |
#not_scored_rate ⇒ Types::Unit
The share of cases with no score. Lower is better. When no min or max gate names this metric, a max of 0.05 applies; a vsControl gate on it does not replace that default.
8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291 class RunMetric < Struct.new( :pass_rate, :not_scored_rate, :evaluator_average, :regressed_cases, :fixed_cases, :regressed_scores, :unpaired_case_rate, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PassRate < RunMetric; end class NotScoredRate < RunMetric; end class EvaluatorAverage < RunMetric; end class RegressedCases < RunMetric; end class FixedCases < RunMetric; end class RegressedScores < RunMetric; end class UnpairedCaseRate < RunMetric; end class Unknown < RunMetric; end end |
#pass_rate ⇒ Types::Unit
The share of cases that pass. Higher is better.
8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291 class RunMetric < Struct.new( :pass_rate, :not_scored_rate, :evaluator_average, :regressed_cases, :fixed_cases, :regressed_scores, :unpaired_case_rate, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PassRate < RunMetric; end class NotScoredRate < RunMetric; end class EvaluatorAverage < RunMetric; end class RegressedCases < RunMetric; end class FixedCases < RunMetric; end class RegressedScores < RunMetric; end class UnpairedCaseRate < RunMetric; end class Unknown < RunMetric; end end |
#regressed_cases ⇒ Types::Unit
The cases that pass on the control and fail on the target, of the cases both runs have, each judged on both sides by the rule's criteria on the evaluators both runs have. Lower is better. Requires a control (RULE_CONTROL_REQUIRED).
8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291 class RunMetric < Struct.new( :pass_rate, :not_scored_rate, :evaluator_average, :regressed_cases, :fixed_cases, :regressed_scores, :unpaired_case_rate, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PassRate < RunMetric; end class NotScoredRate < RunMetric; end class EvaluatorAverage < RunMetric; end class RegressedCases < RunMetric; end class FixedCases < RunMetric; end class RegressedScores < RunMetric; end class UnpairedCaseRate < RunMetric; end class Unknown < RunMetric; end end |
#regressed_scores ⇒ Types::Unit
Fails the run when, for any case that both runs scored, on any evaluator that both runs have, the target scored worse than the control: lower, or higher for an evaluator whose scoreDirection is LOWER_IS_BETTER on the target run. Requires a control (RULE_CONTROL_REQUIRED). Takes no bound.
8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291 class RunMetric < Struct.new( :pass_rate, :not_scored_rate, :evaluator_average, :regressed_cases, :fixed_cases, :regressed_scores, :unpaired_case_rate, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PassRate < RunMetric; end class NotScoredRate < RunMetric; end class EvaluatorAverage < RunMetric; end class RegressedCases < RunMetric; end class FixedCases < RunMetric; end class RegressedScores < RunMetric; end class UnpairedCaseRate < RunMetric; end class Unknown < RunMetric; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
8291 8292 8293 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291 def unknown @unknown end |
#unpaired_case_rate ⇒ Types::Unit
The share of cases that are not judged on both the target and the control. Lower is better. Requires a control (RULE_CONTROL_REQUIRED). Checked only when the rule has a gate on it: comparing with a control adds no gate.
8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291 class RunMetric < Struct.new( :pass_rate, :not_scored_rate, :evaluator_average, :regressed_cases, :fixed_cases, :regressed_scores, :unpaired_case_rate, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PassRate < RunMetric; end class NotScoredRate < RunMetric; end class EvaluatorAverage < RunMetric; end class RegressedCases < RunMetric; end class FixedCases < RunMetric; end class RegressedScores < RunMetric; end class UnpairedCaseRate < RunMetric; end class Unknown < RunMetric; end end |