Class: Aws::CloudWatchOmni::Types::MetricMetadata
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::MetricMetadata
- Defined in:
- gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb
Overview
A single metric observed on a context graph node.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
Per-metric qualifying attributes the console uses to query this metric's telemetry.
-
#metric_type ⇒ String
OTel metric kind: "gauge", "sum", "histogram", "exponential_histogram", or "summary" (CloudWatch-vended metrics carry the same kinds).
-
#name ⇒ String
The metric name as emitted, such as "Duration".
-
#namespace ⇒ String
DEPRECATED: read attributes["service.namespace"] instead.
-
#preferred_stat ⇒ String
The statistic to chart or alarm on, such as "p99" or "Sum".
-
#semantics ⇒ Types::MetricSemantics
What the metric means and the unit it is reported in.
Instance Attribute Details
#attributes ⇒ Hash<String,String>
Per-metric qualifying attributes the console uses to query this metric's telemetry. These are the RAW, store-matching values keyed by their OTel names ("service.name", "service.namespace", "cloud.provider", "cloud.account.id", "cloud.region", "instrumentation_scope") — deliberately NOT the node's normalized/merged identity, so the query selectors match the emitted series. A merged node can carry different values per metric, which is why they live here rather than on the node.
3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3368 class MetricMetadata < Struct.new( :name, :namespace, :preferred_stat, :metric_type, :attributes, :semantics) SENSITIVE = [] include Aws::Structure end |
#metric_type ⇒ String
OTel metric kind: "gauge", "sum", "histogram", "exponential_histogram", or "summary" (CloudWatch-vended metrics carry the same kinds). Absent when the producer did not report one.
3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3368 class MetricMetadata < Struct.new( :name, :namespace, :preferred_stat, :metric_type, :attributes, :semantics) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The metric name as emitted, such as "Duration".
3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3368 class MetricMetadata < Struct.new( :name, :namespace, :preferred_stat, :metric_type, :attributes, :semantics) SENSITIVE = [] include Aws::Structure end |
#namespace ⇒ String
DEPRECATED: read attributes["service.namespace"] instead. Retained (deprecated) for backward compatibility with existing consumers; will be removed once they migrate. The logical service grouping the metric belongs to.
3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3368 class MetricMetadata < Struct.new( :name, :namespace, :preferred_stat, :metric_type, :attributes, :semantics) SENSITIVE = [] include Aws::Structure end |
#preferred_stat ⇒ String
The statistic to chart or alarm on, such as "p99" or "Sum". Free-form and frequently absent.
3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3368 class MetricMetadata < Struct.new( :name, :namespace, :preferred_stat, :metric_type, :attributes, :semantics) SENSITIVE = [] include Aws::Structure end |
#semantics ⇒ Types::MetricSemantics
What the metric means and the unit it is reported in.
3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3368 class MetricMetadata < Struct.new( :name, :namespace, :preferred_stat, :metric_type, :attributes, :semantics) SENSITIVE = [] include Aws::Structure end |