Skip to content

Commit 7a5ae6f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Revert fixing incorrect documentation description for filter[queried] field in api/v2/metrics endpoint (#3201)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 87cfa93 commit 7a5ae6f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86918,8 +86918,11 @@ paths:
8691886918
required: false
8691986919
schema:
8692086920
type: boolean
86921-
- description: (Preview) Filter custom metrics that have or have not been queried
86922-
in the past 30 days.
86921+
- description: '(Preview) Filter custom metrics that have or have not been queried
86922+
in the specified window[seconds].
86923+
86924+
If no window is provided or the window is less than 2 hours, a default of
86925+
2 hours will be applied.'
8692386926
example: true
8692486927
in: query
8692586928
name: filter[queried]

src/datadog_api_client/v2/api/metrics_api.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,8 @@ def list_tag_configurations(
792792
:param filter_include_percentiles: Filter distributions with additional percentile
793793
aggregations enabled or disabled.
794794
:type filter_include_percentiles: bool, optional
795-
:param filter_queried: (Preview) Filter custom metrics that have or have not been queried in the past 30 days.
795+
:param filter_queried: (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds].
796+
If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
796797
:type filter_queried: bool, optional
797798
:param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
798799
Can only be combined with the filter[queried] filter.
@@ -870,7 +871,8 @@ def list_tag_configurations_with_pagination(
870871
:param filter_include_percentiles: Filter distributions with additional percentile
871872
aggregations enabled or disabled.
872873
:type filter_include_percentiles: bool, optional
873-
:param filter_queried: (Preview) Filter custom metrics that have or have not been queried in the past 30 days.
874+
:param filter_queried: (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds].
875+
If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
874876
:type filter_queried: bool, optional
875877
:param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
876878
Can only be combined with the filter[queried] filter.

0 commit comments

Comments
 (0)