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 used 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".
-
#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 used to query this metric's telemetry. Keys are the metric store's own label names, not bare OTel attribute names: service identity arrives as "@resource.service.name" and "@resource.service.namespace", and the instrumentation scope as "@instrumentation.@name", while span-derived metrics label the service as a bare "service.name". Cloud provider, account and region are not repeated per metric — read those from the node. Values are RAW, deliberately NOT the node's normalized or merged identity, so a selector built from them matches the emitted series. A merged node can carry different values per metric, which is why these live here rather than on the node.
3364 3365 3366 3367 3368 3369 3370 3371 3372 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3364 class MetricMetadata < Struct.new( :name, :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.
3364 3365 3366 3367 3368 3369 3370 3371 3372 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3364 class MetricMetadata < Struct.new( :name, :preferred_stat, :metric_type, :attributes, :semantics) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The metric name as emitted, such as "Duration".
3364 3365 3366 3367 3368 3369 3370 3371 3372 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3364 class MetricMetadata < Struct.new( :name, :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.
3364 3365 3366 3367 3368 3369 3370 3371 3372 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3364 class MetricMetadata < Struct.new( :name, :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.
3364 3365 3366 3367 3368 3369 3370 3371 3372 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3364 class MetricMetadata < Struct.new( :name, :preferred_stat, :metric_type, :attributes, :semantics) SENSITIVE = [] include Aws::Structure end |