Skip to content

Commit 94e5072

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 (#3085)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent d124f65 commit 94e5072

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
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]

src/datadog_api_client/v2/api/metrics_api.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,7 @@ def list_tag_configurations(
758758
:param filter_include_percentiles: Filter distributions with additional percentile
759759
aggregations enabled or disabled.
760760
:type filter_include_percentiles: bool, optional
761-
:param filter_queried: (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds].
762-
If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
761+
:param filter_queried: (Preview) Filter custom metrics that have or have not been queried in the past 30 days.
763762
:type filter_queried: bool, optional
764763
:param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
765764
Can only be combined with the filter[queried] filter.
@@ -837,8 +836,7 @@ def list_tag_configurations_with_pagination(
837836
:param filter_include_percentiles: Filter distributions with additional percentile
838837
aggregations enabled or disabled.
839838
:type filter_include_percentiles: bool, optional
840-
:param filter_queried: (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds].
841-
If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
839+
:param filter_queried: (Preview) Filter custom metrics that have or have not been queried in the past 30 days.
842840
:type filter_queried: bool, optional
843841
:param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
844842
Can only be combined with the filter[queried] filter.

0 commit comments

Comments
 (0)