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 or edge.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#aggregation_temporality ⇒ String
Aggregation temporality for the selected metric stream represented by this metadata entry.
-
#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).
-
#monotonicity ⇒ String
Whether the selected Sum metric stream represented by this metadata entry is a non-negative accumulation.
-
#name ⇒ String
The metric name as emitted, such as "Duration".
-
#operations ⇒ Array<String>
Names of the operations this metric measures.
-
#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
#aggregation_temporality ⇒ String
Aggregation temporality for the selected metric stream represented by this metadata entry. Present when known, including cumulative for OTel Summary metrics. Absent for Gauge metrics or when the information is unavailable.
6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 6490 class MetricMetadata < Struct.new( :name, :preferred_stat, :metric_type, :attributes, :semantics, :aggregation_temporality, :monotonicity, :operations) SENSITIVE = [] include Aws::Structure end |
#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". Span-derived metrics can additionally carry the service as a bare data point "service.name" label. Cloud provider, account and region are not repeated per metric — read those from the node. Values are RAW, deliberately NOT the node's 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.
6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 6490 class MetricMetadata < Struct.new( :name, :preferred_stat, :metric_type, :attributes, :semantics, :aggregation_temporality, :monotonicity, :operations) 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.
6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 6490 class MetricMetadata < Struct.new( :name, :preferred_stat, :metric_type, :attributes, :semantics, :aggregation_temporality, :monotonicity, :operations) SENSITIVE = [] include Aws::Structure end |
#monotonicity ⇒ String
Whether the selected Sum metric stream represented by this metadata entry is a non-negative accumulation. Absent for metrics other than Sum or when the information is unavailable.
6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 6490 class MetricMetadata < Struct.new( :name, :preferred_stat, :metric_type, :attributes, :semantics, :aggregation_temporality, :monotonicity, :operations) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The metric name as emitted, such as "Duration".
6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 6490 class MetricMetadata < Struct.new( :name, :preferred_stat, :metric_type, :attributes, :semantics, :aggregation_temporality, :monotonicity, :operations) SENSITIVE = [] include Aws::Structure end |
#operations ⇒ Array<String>
Names of the operations this metric measures. Each is a key in the
node's operationDetails, whose identifier sets select that
operation on this metric. Absent when the metric measures no
operation or when the association is unknown.
6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 6490 class MetricMetadata < Struct.new( :name, :preferred_stat, :metric_type, :attributes, :semantics, :aggregation_temporality, :monotonicity, :operations) 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.
6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 6490 class MetricMetadata < Struct.new( :name, :preferred_stat, :metric_type, :attributes, :semantics, :aggregation_temporality, :monotonicity, :operations) SENSITIVE = [] include Aws::Structure end |
#semantics ⇒ Types::MetricSemantics
What the metric means and the unit it is reported in.
6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 6490 class MetricMetadata < Struct.new( :name, :preferred_stat, :metric_type, :attributes, :semantics, :aggregation_temporality, :monotonicity, :operations) SENSITIVE = [] include Aws::Structure end |