Skip to content

Commit ebb7de3

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update api/v2/metrics query param description (#3699)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 0625f5b commit ebb7de3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91504,8 +91504,8 @@ paths:
9150491504

9150591505
If `filter[queried]` is not provided, sending this parameter returns a 400.
9150691506

91507-
For example: `GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000`.'
91508-
example: 7776000
91507+
For example: `GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=15552000`.'
91508+
example: 15552000
9150991509
in: query
9151091510
name: filter[queried][window][seconds]
9151191511
required: false
@@ -91533,7 +91533,7 @@ paths:
9153391533
schema:
9153491534
type: boolean
9153591535
- description: 'The number of seconds of look back (from now) to apply to a
91536-
filter[tag] or filter[queried] query.
91536+
filter[tag] query.
9153791537

9153891538
Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).'
9153991539
example: 3600

services/metrics/src/v2/MetricsApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,7 +2130,7 @@ export interface MetricsApiListTagConfigurationsRequest {
21302130
* Must be sent with `filter[queried]` and is only applied when `filter[queried]=true`.
21312131
* If `filter[queried]=false`, this parameter is ignored and default queried-window behavior applies.
21322132
* If `filter[queried]` is not provided, sending this parameter returns a 400.
2133-
* For example: `GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000`.
2133+
* For example: `GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=15552000`.
21342134
* @type number
21352135
*/
21362136
filterQueriedWindowSeconds?: number;
@@ -2146,7 +2146,7 @@ export interface MetricsApiListTagConfigurationsRequest {
21462146
*/
21472147
filterRelatedAssets?: boolean;
21482148
/**
2149-
* The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
2149+
* The number of seconds of look back (from now) to apply to a filter[tag] query.
21502150
* Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).
21512151
* @type number
21522152
*/

0 commit comments

Comments
 (0)