Skip to content

Commit 4e5d87c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 1c5e4c8 of spec repo (#3222)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent a0bfb90 commit 4e5d87c

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91067,14 +91067,18 @@ paths:
9106791067
- logs_read_data
9106891068
/api/v2/metrics:
9106991069
get:
91070-
description: "Returns all metrics that can be configured in the Metrics Summary
91071-
page or with Metrics without Limits\u2122 (matching additional filters if
91072-
specified).\nOptionally, paginate by using the `page[cursor]` and/or `page[size]`
91073-
query parameters.\nTo fetch the first page, pass in a query parameter with
91074-
either a valid `page[size]` or an empty cursor like `page[cursor]=`. To fetch
91075-
the next page, pass in the `next_cursor` value from the response as the new
91076-
`page[cursor]` value.\nOnce the `meta.pagination.next_cursor` value is null,
91077-
all pages have been retrieved."
91070+
description: 'Returns all metrics for your organization that match the given
91071+
filter parameters.
91072+
91073+
Optionally, paginate by using the `page[cursor]` and/or `page[size]` query
91074+
parameters.
91075+
91076+
To fetch the first page, pass in a query parameter with either a valid `page[size]`
91077+
or an empty cursor like `page[cursor]=`. To fetch the next page, pass in the
91078+
`next_cursor` value from the response as the new `page[cursor]` value.
91079+
91080+
Once the `meta.pagination.next_cursor` value is null, all pages have been
91081+
retrieved.'
9107891082
operationId: ListTagConfigurations
9107991083
parameters:
9108091084
- description: Filter custom metrics that have configured tags.
@@ -91159,7 +91163,7 @@ paths:
9115991163
- description: 'The number of seconds of look back (from now) to apply to a
9116091164
filter[tag] or filter[queried] query.
9116191165

91162-
Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).'
91166+
Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).'
9116391167
example: 3600
9116491168
in: query
9116591169
name: window[seconds]

src/datadog_api_client/v2/api/metrics_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ def list_tag_configurations(
788788
) -> MetricsAndMetricTagConfigurationsResponse:
789789
"""Get a list of metrics.
790790
791-
Returns all metrics that can be configured in the Metrics Summary page or with Metrics without Limits™ (matching additional filters if specified).
791+
Returns all metrics for your organization that match the given filter parameters.
792792
Optionally, paginate by using the ``page[cursor]`` and/or ``page[size]`` query parameters.
793793
To fetch the first page, pass in a query parameter with either a valid ``page[size]`` or an empty cursor like ``page[cursor]=``. To fetch the next page, pass in the ``next_cursor`` value from the response as the new ``page[cursor]`` value.
794794
Once the ``meta.pagination.next_cursor`` value is null, all pages have been retrieved.
@@ -817,7 +817,7 @@ def list_tag_configurations(
817817
:param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
818818
:type filter_related_assets: bool, optional
819819
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
820-
Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).
820+
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.
823823
:type page_size: int, optional
@@ -906,7 +906,7 @@ def list_tag_configurations_with_pagination(
906906
:param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
907907
:type filter_related_assets: bool, optional
908908
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
909-
Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).
909+
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.
912912
:type page_size: int, optional

0 commit comments

Comments
 (0)