Class: Aws::CloudWatchOmni::Types::RunTraceStats

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

Overview

Statistics from the agent's spans for a run's cases, read after the run ended.

Informational only; it is never used for the verdict or for access control. Only spans from the service of the experiment's target are read, and for reported runs, only from its environment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributes ⇒ Array<Types::TraceAttributeStats>

The values each span attribute took across the cases with spans, up to 20 attributes.

Returns:



8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8364

class RunTraceStats < Struct.new(
  :status,
  :status_reason,
  :cases_read,
  :sampled,
  :cases_with_spans,
  :attributes,
  :metrics,
  :computed_at)
  SENSITIVE = []
  include Aws::Structure
end

#cases_read ⇒ Integer

The number of cases with a traced turn that were read. All such cases, up to 1,000; beyond that, the 1,000 whose caseId has the smallest SHA-256 hash, or fewer when their turns exceed 10,000 traces.

Returns:

  • (Integer)


8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8364

class RunTraceStats < Struct.new(
  :status,
  :status_reason,
  :cases_read,
  :sampled,
  :cases_with_spans,
  :attributes,
  :metrics,
  :computed_at)
  SENSITIVE = []
  include Aws::Structure
end

#cases_with_spans ⇒ Integer

The number of cases read that had at least one of the agent's spans. Every value in attributes and metrics is computed over these cases.

Returns:

  • (Integer)


8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8364

class RunTraceStats < Struct.new(
  :status,
  :status_reason,
  :cases_read,
  :sampled,
  :cases_with_spans,
  :attributes,
  :metrics,
  :computed_at)
  SENSITIVE = []
  include Aws::Structure
end

#computed_at ⇒ Time

The time when the stats were computed.

Returns:

  • (Time)


8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8364

class RunTraceStats < Struct.new(
  :status,
  :status_reason,
  :cases_read,
  :sampled,
  :cases_with_spans,
  :attributes,
  :metrics,
  :computed_at)
  SENSITIVE = []
  include Aws::Structure
end

#metrics ⇒ Array<Types::TraceMetricStats>

Per-case metrics, with their statistics across the cases with spans, up to 20 metrics.

Returns:



8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8364

class RunTraceStats < Struct.new(
  :status,
  :status_reason,
  :cases_read,
  :sampled,
  :cases_with_spans,
  :attributes,
  :metrics,
  :computed_at)
  SENSITIVE = []
  include Aws::Structure
end

#sampled ⇒ Boolean

Whether the run had more cases with a traced turn than casesRead.

Returns:

  • (Boolean)


8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8364

class RunTraceStats < Struct.new(
  :status,
  :status_reason,
  :cases_read,
  :sampled,
  :cases_with_spans,
  :attributes,
  :metrics,
  :computed_at)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The status of the stats. PENDING from the end of the run until they are computed, usually a minute or two and up to about 15 minutes while the run's spans are still arriving.

Returns:

  • (String)


8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8364

class RunTraceStats < Struct.new(
  :status,
  :status_reason,
  :cases_read,
  :sampled,
  :cases_with_spans,
  :attributes,
  :metrics,
  :computed_at)
  SENSITIVE = []
  include Aws::Structure
end

#status_reason ⇒ String

Why the stats are UNAVAILABLE. Absent otherwise.

Returns:

  • (String)


8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8364

class RunTraceStats < Struct.new(
  :status,
  :status_reason,
  :cases_read,
  :sampled,
  :cases_with_spans,
  :attributes,
  :metrics,
  :computed_at)
  SENSITIVE = []
  include Aws::Structure
end