Skip to content

Commit f175fd0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix incorrect documentation description for filter[queried] field in api/v2/metrics endpoint (#2908)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 6823564 commit f175fd0

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75877,11 +75877,8 @@ paths:
7587775877
required: false
7587875878
schema:
7587975879
type: boolean
75880-
- description: '(Preview) Filter custom metrics that have or have not been queried
75881-
in the specified window[seconds].
75882-
75883-
If no window is provided or the window is less than 2 hours, a default of
75884-
2 hours will be applied.'
75880+
- description: (Preview) Filter custom metrics that have or have not been queried
75881+
in the past 30 days.
7588575882
example: true
7588675883
in: query
7588775884
name: filter[queried]

lib/datadog_api_client/v2/api/metrics_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ def list_tag_configurations(opts = {})
677677
# @option opts [String] :filter_tags_configured Filter tag configurations by configured tags.
678678
# @option opts [MetricTagConfigurationMetricTypeCategory] :filter_metric_type Filter metrics by metric type.
679679
# @option opts [Boolean] :filter_include_percentiles Filter distributions with additional percentile aggregations enabled or disabled.
680-
# @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.
680+
# @option opts [Boolean] :filter_queried (Preview) Filter custom metrics that have or have not been queried in the past 30 days.
681681
# @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.
682682
# @option opts [Boolean] :filter_related_assets (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
683683
# @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).

0 commit comments

Comments
 (0)