Skip to content

Commit 77f4c6d

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

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.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

src/datadog_api_client/v2/api/metrics_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -809,14 +809,14 @@ def list_tag_configurations(
809809
Must be sent with ``filter[queried]`` and is only applied when ``filter[queried]=true``.
810810
If ``filter[queried]=false`` , this parameter is ignored and default queried-window behavior applies.
811811
If ``filter[queried]`` is not provided, sending this parameter returns a 400.
812-
For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000``.
812+
For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=15552000``.
813813
:type filter_queried_window_seconds: int, optional
814814
:param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
815815
Can only be combined with the filter[queried] filter.
816816
:type filter_tags: str, optional
817817
:param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
818818
:type filter_related_assets: bool, optional
819-
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
819+
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] query.
820820
Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).
821821
:type window_seconds: int, optional
822822
:param page_size: Maximum number of results returned.
@@ -898,14 +898,14 @@ def list_tag_configurations_with_pagination(
898898
Must be sent with ``filter[queried]`` and is only applied when ``filter[queried]=true``.
899899
If ``filter[queried]=false`` , this parameter is ignored and default queried-window behavior applies.
900900
If ``filter[queried]`` is not provided, sending this parameter returns a 400.
901-
For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000``.
901+
For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=15552000``.
902902
:type filter_queried_window_seconds: int, optional
903903
:param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
904904
Can only be combined with the filter[queried] filter.
905905
:type filter_tags: str, optional
906906
:param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
907907
:type filter_related_assets: bool, optional
908-
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
908+
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] query.
909909
Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).
910910
:type window_seconds: int, optional
911911
:param page_size: Maximum number of results returned.

0 commit comments

Comments
 (0)