Skip to content

Commit 41a1ee1

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 (#3514)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent fac92e5 commit 41a1ee1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
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/main/java/com/datadog/api/client/v2/api/MetricsApi.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,8 @@ public ListTagConfigurationsOptionalParameters filterIncludePercentiles(
16541654
* Set filterQueried.
16551655
*
16561656
* @param filterQueried (Preview) Filter custom metrics that have or have not been queried in
1657-
* the past 30 days. (optional)
1657+
* the specified window[seconds]. If no window is provided or the window is less than 2
1658+
* hours, a default of 2 hours will be applied. (optional)
16581659
* @return ListTagConfigurationsOptionalParameters
16591660
*/
16601661
public ListTagConfigurationsOptionalParameters filterQueried(Boolean filterQueried) {

0 commit comments

Comments
 (0)