diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 707fe9d7de2..96c37d041b1 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -86825,8 +86825,11 @@ paths: required: false schema: type: boolean - - description: (Preview) Filter custom metrics that have or have not been queried - in the past 30 days. + - description: '(Preview) Filter custom metrics that have or have not been queried + in the specified window[seconds]. + + If no window is provided or the window is less than 2 hours, a default of + 2 hours will be applied.' example: true in: query name: filter[queried] diff --git a/lib/datadog_api_client/v2/api/metrics_api.rb b/lib/datadog_api_client/v2/api/metrics_api.rb index efb5875096f..390d571a9c6 100644 --- a/lib/datadog_api_client/v2/api/metrics_api.rb +++ b/lib/datadog_api_client/v2/api/metrics_api.rb @@ -677,7 +677,7 @@ def list_tag_configurations(opts = {}) # @option opts [String] :filter_tags_configured Filter tag configurations by configured tags. # @option opts [MetricTagConfigurationMetricTypeCategory] :filter_metric_type Filter metrics by metric type. # @option opts [Boolean] :filter_include_percentiles Filter distributions with additional percentile aggregations enabled or disabled. - # @option opts [Boolean] :filter_queried (Preview) Filter custom metrics that have or have not been queried in the past 30 days. + # @option opts [Boolean] :filter_queried (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds]. If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied. # @option opts [String] :filter_tags Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions. Can only be combined with the filter[queried] filter. # @option opts [Boolean] :filter_related_assets (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs. # @option opts [Integer] :window_seconds The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query. Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).