aws-sdk-cloudwatchomni 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchomni/client.rb +65 -1
- data/lib/aws-sdk-cloudwatchomni/client_api.rb +4 -0
- data/lib/aws-sdk-cloudwatchomni/types.rb +25 -9
- data/lib/aws-sdk-cloudwatchomni.rb +1 -1
- data/sig/types.rbs +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ef67a7a2441ee146fd7d433b5264f24485d099d5f2250df6d9a68b134011345
|
|
4
|
+
data.tar.gz: 89ec9296372452904bdb36705430ced54968a3fa1f0e6ab62f6a6e9880010680
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f22262c9e5e3d6d6d9fab0b913b0cbaeab19be04b993b0f955a90e09ba347fa7024a92fbbf6e4dee3494004aa7157de959613767912301f71b3b9400bbf6c68d
|
|
7
|
+
data.tar.gz: f67d46b9226c7a67f551baf0d0f4b9900b434357f6ae9fb8d59d22ee25db30f43cf0eb13d243d61945490b3922e9fa7069e46a12b3ae5b73453f9a4aa9225bd6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.12.0 (2026-11-12)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add aggregationTemporality and monotonicity to GetContextGraph MetricMetadata
|
|
8
|
+
|
|
9
|
+
1.11.0 (2026-11-11)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.10.0 (2026-11-10)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.12.0
|
|
@@ -2951,6 +2951,66 @@ module Aws::CloudWatchOmni
|
|
|
2951
2951
|
# ],
|
|
2952
2952
|
# }
|
|
2953
2953
|
#
|
|
2954
|
+
# @example Example: Return metric aggregation metadata
|
|
2955
|
+
#
|
|
2956
|
+
# # The following example returns aggregation metadata for a metric stream observed on a service over a one-hour window. The
|
|
2957
|
+
# # metric attributes identify its producing service and instrumentation scope; additional data point dimensions can
|
|
2958
|
+
# # identify multiple time series. Payloads are shown as JSON; on the wire they are CBOR-encoded.
|
|
2959
|
+
#
|
|
2960
|
+
# resp = client.get_context_graph({
|
|
2961
|
+
# depth: 0,
|
|
2962
|
+
# end_time: Time.parse("2026-09-16T01:00:00Z"),
|
|
2963
|
+
# include_metadata: true,
|
|
2964
|
+
# max_results: 1,
|
|
2965
|
+
# node_filters: {
|
|
2966
|
+
# node_id: "svc:checkout-service",
|
|
2967
|
+
# },
|
|
2968
|
+
# start_time: Time.parse("2026-09-16T00:00:00Z"),
|
|
2969
|
+
# })
|
|
2970
|
+
#
|
|
2971
|
+
# resp.to_h outputs the following:
|
|
2972
|
+
# {
|
|
2973
|
+
# nodes: [
|
|
2974
|
+
# {
|
|
2975
|
+
# metadata: {
|
|
2976
|
+
# metrics: [
|
|
2977
|
+
# {
|
|
2978
|
+
# name: "traces.span.metrics.calls",
|
|
2979
|
+
# aggregation_temporality: "cumulative",
|
|
2980
|
+
# attributes: {
|
|
2981
|
+
# "@instrumentation.@name" => "otel.cloudwatch.spanmetrics",
|
|
2982
|
+
# "@resource.service.name" => "checkout-service",
|
|
2983
|
+
# "@resource.service.namespace" => "ecommerce",
|
|
2984
|
+
# },
|
|
2985
|
+
# metric_type: "sum",
|
|
2986
|
+
# monotonicity: "monotonic",
|
|
2987
|
+
# semantics: {
|
|
2988
|
+
# unit: "{request}",
|
|
2989
|
+
# },
|
|
2990
|
+
# },
|
|
2991
|
+
# ],
|
|
2992
|
+
# },
|
|
2993
|
+
# name: "checkout-service",
|
|
2994
|
+
# first_observed_at: Time.parse("2026-09-16T00:03:00Z"),
|
|
2995
|
+
# last_observed_at: Time.parse("2026-09-16T00:58:00Z"),
|
|
2996
|
+
# node_id: "svc:checkout-service",
|
|
2997
|
+
# node_properties: {
|
|
2998
|
+
# cloud_provider: "aws",
|
|
2999
|
+
# namespace: "ecommerce",
|
|
3000
|
+
# region: "us-east-1",
|
|
3001
|
+
# source_account_id: "123456789012",
|
|
3002
|
+
# },
|
|
3003
|
+
# node_type: "SERVICE",
|
|
3004
|
+
# signal_types: [
|
|
3005
|
+
# "METRICS",
|
|
3006
|
+
# ],
|
|
3007
|
+
# sources: [
|
|
3008
|
+
# "TELEMETRY",
|
|
3009
|
+
# ],
|
|
3010
|
+
# },
|
|
3011
|
+
# ],
|
|
3012
|
+
# }
|
|
3013
|
+
#
|
|
2954
3014
|
# @example Request syntax with placeholder values
|
|
2955
3015
|
#
|
|
2956
3016
|
# resp = client.get_context_graph({
|
|
@@ -3035,6 +3095,8 @@ module Aws::CloudWatchOmni
|
|
|
3035
3095
|
# resp.nodes[0].metadata.metrics[0].attributes["String"] #=> String
|
|
3036
3096
|
# resp.nodes[0].metadata.metrics[0].semantics.description #=> String
|
|
3037
3097
|
# resp.nodes[0].metadata.metrics[0].semantics.unit #=> String
|
|
3098
|
+
# resp.nodes[0].metadata.metrics[0].aggregation_temporality #=> String, one of "delta", "cumulative"
|
|
3099
|
+
# resp.nodes[0].metadata.metrics[0].monotonicity #=> String, one of "monotonic", "non_monotonic"
|
|
3038
3100
|
# resp.nodes[0].metadata.semantics.purpose #=> String
|
|
3039
3101
|
# resp.nodes[0].metadata.semantics.language #=> String
|
|
3040
3102
|
# resp.nodes[0].metadata.semantics.framework #=> String
|
|
@@ -3082,6 +3144,8 @@ module Aws::CloudWatchOmni
|
|
|
3082
3144
|
# resp.nodes[0].edges[0].metadata.metrics[0].attributes["String"] #=> String
|
|
3083
3145
|
# resp.nodes[0].edges[0].metadata.metrics[0].semantics.description #=> String
|
|
3084
3146
|
# resp.nodes[0].edges[0].metadata.metrics[0].semantics.unit #=> String
|
|
3147
|
+
# resp.nodes[0].edges[0].metadata.metrics[0].aggregation_temporality #=> String, one of "delta", "cumulative"
|
|
3148
|
+
# resp.nodes[0].edges[0].metadata.metrics[0].monotonicity #=> String, one of "monotonic", "non_monotonic"
|
|
3085
3149
|
# resp.nodes[0].edges[0].metadata.semantics.purpose #=> String
|
|
3086
3150
|
# resp.nodes[0].edges[0].metadata.semantics.language #=> String
|
|
3087
3151
|
# resp.nodes[0].edges[0].metadata.semantics.framework #=> String
|
|
@@ -6159,7 +6223,7 @@ module Aws::CloudWatchOmni
|
|
|
6159
6223
|
tracer: tracer
|
|
6160
6224
|
)
|
|
6161
6225
|
context[:gem_name] = 'aws-sdk-cloudwatchomni'
|
|
6162
|
-
context[:gem_version] = '1.
|
|
6226
|
+
context[:gem_version] = '1.12.0'
|
|
6163
6227
|
Seahorse::Client::Request.new(handlers, context)
|
|
6164
6228
|
end
|
|
6165
6229
|
|
|
@@ -268,8 +268,10 @@ module Aws::CloudWatchOmni
|
|
|
268
268
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
269
269
|
Metadata = Shapes::StructureShape.new(name: 'Metadata')
|
|
270
270
|
MetadataAttributeMap = Shapes::MapShape.new(name: 'MetadataAttributeMap')
|
|
271
|
+
MetricAggregationTemporality = Shapes::StringShape.new(name: 'MetricAggregationTemporality')
|
|
271
272
|
MetricMetadata = Shapes::StructureShape.new(name: 'MetricMetadata')
|
|
272
273
|
MetricMetadataList = Shapes::ListShape.new(name: 'MetricMetadataList')
|
|
274
|
+
MetricMonotonicity = Shapes::StringShape.new(name: 'MetricMonotonicity')
|
|
273
275
|
MetricSemantics = Shapes::StructureShape.new(name: 'MetricSemantics')
|
|
274
276
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
|
275
277
|
NoData = Shapes::StructureShape.new(name: 'NoData')
|
|
@@ -1191,6 +1193,8 @@ module Aws::CloudWatchOmni
|
|
|
1191
1193
|
MetricMetadata.add_member(:metric_type, Shapes::ShapeRef.new(shape: String, location_name: "metricType"))
|
|
1192
1194
|
MetricMetadata.add_member(:attributes, Shapes::ShapeRef.new(shape: MetadataAttributeMap, location_name: "attributes"))
|
|
1193
1195
|
MetricMetadata.add_member(:semantics, Shapes::ShapeRef.new(shape: MetricSemantics, location_name: "semantics"))
|
|
1196
|
+
MetricMetadata.add_member(:aggregation_temporality, Shapes::ShapeRef.new(shape: MetricAggregationTemporality, location_name: "aggregationTemporality"))
|
|
1197
|
+
MetricMetadata.add_member(:monotonicity, Shapes::ShapeRef.new(shape: MetricMonotonicity, location_name: "monotonicity"))
|
|
1194
1198
|
MetricMetadata.struct_class = Types::MetricMetadata
|
|
1195
1199
|
|
|
1196
1200
|
MetricMetadataList.member = Shapes::ShapeRef.new(shape: MetricMetadata)
|
|
@@ -3381,7 +3381,7 @@ module Aws::CloudWatchOmni
|
|
|
3381
3381
|
include Aws::Structure
|
|
3382
3382
|
end
|
|
3383
3383
|
|
|
3384
|
-
# A single metric observed on a context graph node.
|
|
3384
|
+
# A single metric observed on a context graph node or edge.
|
|
3385
3385
|
#
|
|
3386
3386
|
# @!attribute [rw] name
|
|
3387
3387
|
# The metric name as emitted, such as "Duration".
|
|
@@ -3403,19 +3403,33 @@ module Aws::CloudWatchOmni
|
|
|
3403
3403
|
# telemetry. Keys are the metric store's own label names, not bare
|
|
3404
3404
|
# OTel attribute names: service identity arrives as
|
|
3405
3405
|
# "@resource.service.name" and "@resource.service.namespace", and the
|
|
3406
|
-
# instrumentation scope as "@instrumentation.@name"
|
|
3407
|
-
#
|
|
3408
|
-
# Cloud provider, account and region are not
|
|
3409
|
-
# read those from the node. Values are RAW,
|
|
3410
|
-
# node's
|
|
3411
|
-
# matches the emitted series. A merged node can carry
|
|
3412
|
-
# per metric, which is why these live here rather
|
|
3406
|
+
# instrumentation scope as "@instrumentation.@name". Span-derived
|
|
3407
|
+
# metrics can additionally carry the service as a bare data point
|
|
3408
|
+
# "service.name" label. Cloud provider, account and region are not
|
|
3409
|
+
# repeated per metric — read those from the node. Values are RAW,
|
|
3410
|
+
# deliberately NOT the node's merged identity, so a selector built
|
|
3411
|
+
# from them matches the emitted series. A merged node can carry
|
|
3412
|
+
# different values per metric, which is why these live here rather
|
|
3413
|
+
# than on the node.
|
|
3413
3414
|
# @return [Hash<String,String>]
|
|
3414
3415
|
#
|
|
3415
3416
|
# @!attribute [rw] semantics
|
|
3416
3417
|
# What the metric means and the unit it is reported in.
|
|
3417
3418
|
# @return [Types::MetricSemantics]
|
|
3418
3419
|
#
|
|
3420
|
+
# @!attribute [rw] aggregation_temporality
|
|
3421
|
+
# Aggregation temporality for the selected metric stream represented
|
|
3422
|
+
# by this metadata entry. Present when known, including cumulative for
|
|
3423
|
+
# OTel Summary metrics. Absent for Gauge metrics or when the
|
|
3424
|
+
# information is unavailable.
|
|
3425
|
+
# @return [String]
|
|
3426
|
+
#
|
|
3427
|
+
# @!attribute [rw] monotonicity
|
|
3428
|
+
# Whether the selected Sum metric stream represented by this metadata
|
|
3429
|
+
# entry is a non-negative accumulation. Absent for metrics other than
|
|
3430
|
+
# Sum or when the information is unavailable.
|
|
3431
|
+
# @return [String]
|
|
3432
|
+
#
|
|
3419
3433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudwatchomni-2025-01-01/MetricMetadata AWS API Documentation
|
|
3420
3434
|
#
|
|
3421
3435
|
class MetricMetadata < Struct.new(
|
|
@@ -3423,7 +3437,9 @@ module Aws::CloudWatchOmni
|
|
|
3423
3437
|
:preferred_stat,
|
|
3424
3438
|
:metric_type,
|
|
3425
3439
|
:attributes,
|
|
3426
|
-
:semantics
|
|
3440
|
+
:semantics,
|
|
3441
|
+
:aggregation_temporality,
|
|
3442
|
+
:monotonicity)
|
|
3427
3443
|
SENSITIVE = []
|
|
3428
3444
|
include Aws::Structure
|
|
3429
3445
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -970,6 +970,8 @@ module Aws::CloudWatchOmni
|
|
|
970
970
|
attr_accessor metric_type: ::String
|
|
971
971
|
attr_accessor attributes: ::Hash[::String, ::String]
|
|
972
972
|
attr_accessor semantics: Types::MetricSemantics
|
|
973
|
+
attr_accessor aggregation_temporality: ("delta" | "cumulative")
|
|
974
|
+
attr_accessor monotonicity: ("monotonic" | "non_monotonic")
|
|
973
975
|
SENSITIVE: []
|
|
974
976
|
end
|
|
975
977
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-cloudwatchomni
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.268.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.268.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|