aws-sdk-prometheusservice 1.73.0 → 1.74.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-prometheusservice/client.rb +14 -1
- data/lib/aws-sdk-prometheusservice/client_api.rb +8 -0
- data/lib/aws-sdk-prometheusservice/types.rb +27 -2
- data/lib/aws-sdk-prometheusservice.rb +1 -1
- data/sig/client.rbs +3 -1
- data/sig/types.rbs +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a302e73736273d30234713e74a82d6c1d41cf24de48b538dedf9814cc527d3f4
|
|
4
|
+
data.tar.gz: 99ecd51a46effc57b2991f8916aa258b614073f8d30dbcf7061c1e111084ec06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d754fa9b8dbd8290f55df5a4672b62d326ceb76827906fb51b096b11cf9a8a20bb1fa3ab23d96113060337709cf6acf2082d8c3eca137d6ad8a4e6b07b276df2
|
|
7
|
+
data.tar.gz: fe71cbf9381991d66c6b935b690228fa0bd5e328c2cc92f29f902359c3168057107d5f19b8a5dda95613e77e193b0be3e92094074152fc9876428676563220ab
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.74.0 (2026-06-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds supports for out-of-order sample ingestion (default 1-minute window) and a configurable rule query offset to reduce data loss and improve alerting accuracy.
|
|
8
|
+
|
|
4
9
|
1.73.0 (2026-05-28)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.74.0
|
|
@@ -1867,6 +1867,8 @@ module Aws::PrometheusService
|
|
|
1867
1867
|
# resp.workspace_configuration.limits_per_label_set[0].label_set #=> Hash
|
|
1868
1868
|
# resp.workspace_configuration.limits_per_label_set[0].label_set["LabelName"] #=> String
|
|
1869
1869
|
# resp.workspace_configuration.retention_period_in_days #=> Integer
|
|
1870
|
+
# resp.workspace_configuration.out_of_order_time_window_in_seconds #=> Integer
|
|
1871
|
+
# resp.workspace_configuration.rule_query_offset_in_seconds #=> Integer
|
|
1870
1872
|
#
|
|
1871
1873
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeWorkspaceConfiguration AWS API Documentation
|
|
1872
1874
|
#
|
|
@@ -3027,6 +3029,15 @@ module Aws::PrometheusService
|
|
|
3027
3029
|
# Specifies how many days that metrics will be retained in the
|
|
3028
3030
|
# workspace.
|
|
3029
3031
|
#
|
|
3032
|
+
# @option params [Integer] :out_of_order_time_window_in_seconds
|
|
3033
|
+
# Specifies the time window in seconds for accepting out of order
|
|
3034
|
+
# samples. Out of order samples older than this window are rejected.
|
|
3035
|
+
#
|
|
3036
|
+
# @option params [Integer] :rule_query_offset_in_seconds
|
|
3037
|
+
# Specifies the duration in seconds to offset rule evaluation queries
|
|
3038
|
+
# into the past. This allows ingested samples to be available before
|
|
3039
|
+
# rule evaluation.
|
|
3040
|
+
#
|
|
3030
3041
|
# @return [Types::UpdateWorkspaceConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3031
3042
|
#
|
|
3032
3043
|
# * {Types::UpdateWorkspaceConfigurationResponse#status #status} => Types::WorkspaceConfigurationStatus
|
|
@@ -3047,6 +3058,8 @@ module Aws::PrometheusService
|
|
|
3047
3058
|
# },
|
|
3048
3059
|
# ],
|
|
3049
3060
|
# retention_period_in_days: 1,
|
|
3061
|
+
# out_of_order_time_window_in_seconds: 1,
|
|
3062
|
+
# rule_query_offset_in_seconds: 1,
|
|
3050
3063
|
# })
|
|
3051
3064
|
#
|
|
3052
3065
|
# @example Response structure
|
|
@@ -3081,7 +3094,7 @@ module Aws::PrometheusService
|
|
|
3081
3094
|
tracer: tracer
|
|
3082
3095
|
)
|
|
3083
3096
|
context[:gem_name] = 'aws-sdk-prometheusservice'
|
|
3084
|
-
context[:gem_version] = '1.
|
|
3097
|
+
context[:gem_version] = '1.74.0'
|
|
3085
3098
|
Seahorse::Client::Request.new(handlers, context)
|
|
3086
3099
|
end
|
|
3087
3100
|
|
|
@@ -200,7 +200,9 @@ module Aws::PrometheusService
|
|
|
200
200
|
UpdateScraperResponse = Shapes::StructureShape.new(name: 'UpdateScraperResponse')
|
|
201
201
|
UpdateWorkspaceAliasRequest = Shapes::StructureShape.new(name: 'UpdateWorkspaceAliasRequest')
|
|
202
202
|
UpdateWorkspaceConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateWorkspaceConfigurationRequest')
|
|
203
|
+
UpdateWorkspaceConfigurationRequestOutOfOrderTimeWindowInSecondsInteger = Shapes::IntegerShape.new(name: 'UpdateWorkspaceConfigurationRequestOutOfOrderTimeWindowInSecondsInteger')
|
|
203
204
|
UpdateWorkspaceConfigurationRequestRetentionPeriodInDaysInteger = Shapes::IntegerShape.new(name: 'UpdateWorkspaceConfigurationRequestRetentionPeriodInDaysInteger')
|
|
205
|
+
UpdateWorkspaceConfigurationRequestRuleQueryOffsetInSecondsInteger = Shapes::IntegerShape.new(name: 'UpdateWorkspaceConfigurationRequestRuleQueryOffsetInSecondsInteger')
|
|
204
206
|
UpdateWorkspaceConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateWorkspaceConfigurationResponse')
|
|
205
207
|
Uri = Shapes::StringShape.new(name: 'Uri')
|
|
206
208
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
@@ -211,7 +213,9 @@ module Aws::PrometheusService
|
|
|
211
213
|
WorkspaceAlias = Shapes::StringShape.new(name: 'WorkspaceAlias')
|
|
212
214
|
WorkspaceArn = Shapes::StringShape.new(name: 'WorkspaceArn')
|
|
213
215
|
WorkspaceConfigurationDescription = Shapes::StructureShape.new(name: 'WorkspaceConfigurationDescription')
|
|
216
|
+
WorkspaceConfigurationDescriptionOutOfOrderTimeWindowInSecondsInteger = Shapes::IntegerShape.new(name: 'WorkspaceConfigurationDescriptionOutOfOrderTimeWindowInSecondsInteger')
|
|
214
217
|
WorkspaceConfigurationDescriptionRetentionPeriodInDaysInteger = Shapes::IntegerShape.new(name: 'WorkspaceConfigurationDescriptionRetentionPeriodInDaysInteger')
|
|
218
|
+
WorkspaceConfigurationDescriptionRuleQueryOffsetInSecondsInteger = Shapes::IntegerShape.new(name: 'WorkspaceConfigurationDescriptionRuleQueryOffsetInSecondsInteger')
|
|
215
219
|
WorkspaceConfigurationStatus = Shapes::StructureShape.new(name: 'WorkspaceConfigurationStatus')
|
|
216
220
|
WorkspaceConfigurationStatusCode = Shapes::StringShape.new(name: 'WorkspaceConfigurationStatusCode')
|
|
217
221
|
WorkspaceDescription = Shapes::StructureShape.new(name: 'WorkspaceDescription')
|
|
@@ -841,6 +845,8 @@ module Aws::PrometheusService
|
|
|
841
845
|
UpdateWorkspaceConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
842
846
|
UpdateWorkspaceConfigurationRequest.add_member(:limits_per_label_set, Shapes::ShapeRef.new(shape: LimitsPerLabelSetList, location_name: "limitsPerLabelSet"))
|
|
843
847
|
UpdateWorkspaceConfigurationRequest.add_member(:retention_period_in_days, Shapes::ShapeRef.new(shape: UpdateWorkspaceConfigurationRequestRetentionPeriodInDaysInteger, location_name: "retentionPeriodInDays"))
|
|
848
|
+
UpdateWorkspaceConfigurationRequest.add_member(:out_of_order_time_window_in_seconds, Shapes::ShapeRef.new(shape: UpdateWorkspaceConfigurationRequestOutOfOrderTimeWindowInSecondsInteger, location_name: "outOfOrderTimeWindowInSeconds"))
|
|
849
|
+
UpdateWorkspaceConfigurationRequest.add_member(:rule_query_offset_in_seconds, Shapes::ShapeRef.new(shape: UpdateWorkspaceConfigurationRequestRuleQueryOffsetInSecondsInteger, location_name: "ruleQueryOffsetInSeconds"))
|
|
844
850
|
UpdateWorkspaceConfigurationRequest.struct_class = Types::UpdateWorkspaceConfigurationRequest
|
|
845
851
|
|
|
846
852
|
UpdateWorkspaceConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceConfigurationStatus, required: true, location_name: "status"))
|
|
@@ -864,6 +870,8 @@ module Aws::PrometheusService
|
|
|
864
870
|
WorkspaceConfigurationDescription.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceConfigurationStatus, required: true, location_name: "status"))
|
|
865
871
|
WorkspaceConfigurationDescription.add_member(:limits_per_label_set, Shapes::ShapeRef.new(shape: LimitsPerLabelSetList, location_name: "limitsPerLabelSet"))
|
|
866
872
|
WorkspaceConfigurationDescription.add_member(:retention_period_in_days, Shapes::ShapeRef.new(shape: WorkspaceConfigurationDescriptionRetentionPeriodInDaysInteger, location_name: "retentionPeriodInDays"))
|
|
873
|
+
WorkspaceConfigurationDescription.add_member(:out_of_order_time_window_in_seconds, Shapes::ShapeRef.new(shape: WorkspaceConfigurationDescriptionOutOfOrderTimeWindowInSecondsInteger, location_name: "outOfOrderTimeWindowInSeconds"))
|
|
874
|
+
WorkspaceConfigurationDescription.add_member(:rule_query_offset_in_seconds, Shapes::ShapeRef.new(shape: WorkspaceConfigurationDescriptionRuleQueryOffsetInSecondsInteger, location_name: "ruleQueryOffsetInSeconds"))
|
|
867
875
|
WorkspaceConfigurationDescription.struct_class = Types::WorkspaceConfigurationDescription
|
|
868
876
|
|
|
869
877
|
WorkspaceConfigurationStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: WorkspaceConfigurationStatusCode, required: true, location_name: "statusCode"))
|
|
@@ -3099,13 +3099,26 @@ module Aws::PrometheusService
|
|
|
3099
3099
|
# workspace.
|
|
3100
3100
|
# @return [Integer]
|
|
3101
3101
|
#
|
|
3102
|
+
# @!attribute [rw] out_of_order_time_window_in_seconds
|
|
3103
|
+
# Specifies the time window in seconds for accepting out of order
|
|
3104
|
+
# samples. Out of order samples older than this window are rejected.
|
|
3105
|
+
# @return [Integer]
|
|
3106
|
+
#
|
|
3107
|
+
# @!attribute [rw] rule_query_offset_in_seconds
|
|
3108
|
+
# Specifies the duration in seconds to offset rule evaluation queries
|
|
3109
|
+
# into the past. This allows ingested samples to be available before
|
|
3110
|
+
# rule evaluation.
|
|
3111
|
+
# @return [Integer]
|
|
3112
|
+
#
|
|
3102
3113
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateWorkspaceConfigurationRequest AWS API Documentation
|
|
3103
3114
|
#
|
|
3104
3115
|
class UpdateWorkspaceConfigurationRequest < Struct.new(
|
|
3105
3116
|
:workspace_id,
|
|
3106
3117
|
:client_token,
|
|
3107
3118
|
:limits_per_label_set,
|
|
3108
|
-
:retention_period_in_days
|
|
3119
|
+
:retention_period_in_days,
|
|
3120
|
+
:out_of_order_time_window_in_seconds,
|
|
3121
|
+
:rule_query_offset_in_seconds)
|
|
3109
3122
|
SENSITIVE = []
|
|
3110
3123
|
include Aws::Structure
|
|
3111
3124
|
end
|
|
@@ -3211,12 +3224,24 @@ module Aws::PrometheusService
|
|
|
3211
3224
|
# workspace.
|
|
3212
3225
|
# @return [Integer]
|
|
3213
3226
|
#
|
|
3227
|
+
# @!attribute [rw] out_of_order_time_window_in_seconds
|
|
3228
|
+
# This field displays the out of order time window in seconds for
|
|
3229
|
+
# accepting out of order samples.
|
|
3230
|
+
# @return [Integer]
|
|
3231
|
+
#
|
|
3232
|
+
# @!attribute [rw] rule_query_offset_in_seconds
|
|
3233
|
+
# This field displays the duration in seconds that rule evaluation
|
|
3234
|
+
# queries are offset into the past.
|
|
3235
|
+
# @return [Integer]
|
|
3236
|
+
#
|
|
3214
3237
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/WorkspaceConfigurationDescription AWS API Documentation
|
|
3215
3238
|
#
|
|
3216
3239
|
class WorkspaceConfigurationDescription < Struct.new(
|
|
3217
3240
|
:status,
|
|
3218
3241
|
:limits_per_label_set,
|
|
3219
|
-
:retention_period_in_days
|
|
3242
|
+
:retention_period_in_days,
|
|
3243
|
+
:out_of_order_time_window_in_seconds,
|
|
3244
|
+
:rule_query_offset_in_seconds)
|
|
3220
3245
|
SENSITIVE = []
|
|
3221
3246
|
include Aws::Structure
|
|
3222
3247
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -647,7 +647,9 @@ module Aws
|
|
|
647
647
|
label_set: Hash[::String, ::String]
|
|
648
648
|
}
|
|
649
649
|
],
|
|
650
|
-
?retention_period_in_days: ::Integer
|
|
650
|
+
?retention_period_in_days: ::Integer,
|
|
651
|
+
?out_of_order_time_window_in_seconds: ::Integer,
|
|
652
|
+
?rule_query_offset_in_seconds: ::Integer
|
|
651
653
|
) -> _UpdateWorkspaceConfigurationResponseSuccess
|
|
652
654
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkspaceConfigurationResponseSuccess
|
|
653
655
|
|
data/sig/types.rbs
CHANGED
|
@@ -845,6 +845,8 @@ module Aws::PrometheusService
|
|
|
845
845
|
attr_accessor client_token: ::String
|
|
846
846
|
attr_accessor limits_per_label_set: ::Array[Types::LimitsPerLabelSet]
|
|
847
847
|
attr_accessor retention_period_in_days: ::Integer
|
|
848
|
+
attr_accessor out_of_order_time_window_in_seconds: ::Integer
|
|
849
|
+
attr_accessor rule_query_offset_in_seconds: ::Integer
|
|
848
850
|
SENSITIVE: []
|
|
849
851
|
end
|
|
850
852
|
|
|
@@ -876,6 +878,8 @@ module Aws::PrometheusService
|
|
|
876
878
|
attr_accessor status: Types::WorkspaceConfigurationStatus
|
|
877
879
|
attr_accessor limits_per_label_set: ::Array[Types::LimitsPerLabelSet]
|
|
878
880
|
attr_accessor retention_period_in_days: ::Integer
|
|
881
|
+
attr_accessor out_of_order_time_window_in_seconds: ::Integer
|
|
882
|
+
attr_accessor rule_query_offset_in_seconds: ::Integer
|
|
879
883
|
SENSITIVE: []
|
|
880
884
|
end
|
|
881
885
|
|