Skip to content

Commit 3e39b36

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 (#3508)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6df272e commit 3e39b36

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]

services/metrics/src/v2/MetricsApi.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,8 @@ export interface MetricsApiListTagConfigurationsRequest {
21122112
*/
21132113
filterIncludePercentiles?: boolean;
21142114
/**
2115-
* (Preview) Filter custom metrics that have or have not been queried in the past 30 days.
2115+
* (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds].
2116+
* If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
21162117
* @type boolean
21172118
*/
21182119
filterQueried?: boolean;

0 commit comments

Comments
 (0)