Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91489,8 +91489,8 @@ paths:

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

For example: `GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000`.'
example: 7776000
For example: `GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=15552000`.'
example: 15552000
in: query
name: filter[queried][window][seconds]
required: false
Expand Down Expand Up @@ -91518,7 +91518,7 @@ paths:
schema:
type: boolean
- description: 'The number of seconds of look back (from now) to apply to a
filter[tag] or filter[queried] query.
filter[tag] query.

Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).'
example: 3600
Expand Down
8 changes: 4 additions & 4 deletions src/datadog_api_client/v2/api/metrics_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,14 +809,14 @@ def list_tag_configurations(
Must be sent with ``filter[queried]`` and is only applied when ``filter[queried]=true``.
If ``filter[queried]=false`` , this parameter is ignored and default queried-window behavior applies.
If ``filter[queried]`` is not provided, sending this parameter returns a 400.
For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000``.
For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=15552000``.
:type filter_queried_window_seconds: int, optional
:param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
Can only be combined with the filter[queried] filter.
:type filter_tags: str, optional
:param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
:type filter_related_assets: bool, optional
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] query.
Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).
:type window_seconds: int, optional
:param page_size: Maximum number of results returned.
Expand Down Expand Up @@ -898,14 +898,14 @@ def list_tag_configurations_with_pagination(
Must be sent with ``filter[queried]`` and is only applied when ``filter[queried]=true``.
If ``filter[queried]=false`` , this parameter is ignored and default queried-window behavior applies.
If ``filter[queried]`` is not provided, sending this parameter returns a 400.
For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000``.
For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=15552000``.
:type filter_queried_window_seconds: int, optional
:param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
Can only be combined with the filter[queried] filter.
:type filter_tags: str, optional
:param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
:type filter_related_assets: bool, optional
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] query.
Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).
:type window_seconds: int, optional
:param page_size: Maximum number of results returned.
Expand Down
Loading