Skip to content

Commit 228f017

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1c5e4c8 of spec repo
1 parent 88f36ac commit 228f017

2 files changed

Lines changed: 16 additions & 12 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88602,14 +88602,18 @@ paths:
8860288602
- logs_read_data
8860388603
/api/v2/metrics:
8860488604
get:
88605-
description: "Returns all metrics that can be configured in the Metrics Summary
88606-
page or with Metrics without Limits\u2122 (matching additional filters if
88607-
specified).\nOptionally, paginate by using the `page[cursor]` and/or `page[size]`
88608-
query parameters.\nTo fetch the first page, pass in a query parameter with
88609-
either a valid `page[size]` or an empty cursor like `page[cursor]=`. To fetch
88610-
the next page, pass in the `next_cursor` value from the response as the new
88611-
`page[cursor]` value.\nOnce the `meta.pagination.next_cursor` value is null,
88612-
all pages have been retrieved."
88605+
description: 'Returns all metrics for your organization that match the given
88606+
filter parameters.
88607+
88608+
Optionally, paginate by using the `page[cursor]` and/or `page[size]` query
88609+
parameters.
88610+
88611+
To fetch the first page, pass in a query parameter with either a valid `page[size]`
88612+
or an empty cursor like `page[cursor]=`. To fetch the next page, pass in the
88613+
`next_cursor` value from the response as the new `page[cursor]` value.
88614+
88615+
Once the `meta.pagination.next_cursor` value is null, all pages have been
88616+
retrieved.'
8861388617
operationId: ListTagConfigurations
8861488618
parameters:
8861588619
- description: Filter custom metrics that have configured tags.
@@ -88674,7 +88678,7 @@ paths:
8867488678
- description: 'The number of seconds of look back (from now) to apply to a
8867588679
filter[tag] or filter[queried] query.
8867688680

88677-
Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).'
88681+
Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).'
8867888682
example: 3600
8867988683
in: query
8868088684
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
@@ -778,7 +778,7 @@ def list_tag_configurations(
778778
) -> MetricsAndMetricTagConfigurationsResponse:
779779
"""Get a list of metrics.
780780
781-
Returns all metrics that can be configured in the Metrics Summary page or with Metrics without Limits™ (matching additional filters if specified).
781+
Returns all metrics for your organization that match the given filter parameters.
782782
Optionally, paginate by using the ``page[cursor]`` and/or ``page[size]`` query parameters.
783783
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.
784784
Once the ``meta.pagination.next_cursor`` value is null, all pages have been retrieved.
@@ -801,7 +801,7 @@ def list_tag_configurations(
801801
:param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
802802
:type filter_related_assets: bool, optional
803803
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
804-
Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).
804+
Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).
805805
:type window_seconds: int, optional
806806
:param page_size: Maximum number of results returned.
807807
:type page_size: int, optional
@@ -880,7 +880,7 @@ def list_tag_configurations_with_pagination(
880880
:param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
881881
:type filter_related_assets: bool, optional
882882
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
883-
Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).
883+
Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).
884884
:type window_seconds: int, optional
885885
:param page_size: Maximum number of results returned.
886886
:type page_size: int, optional

0 commit comments

Comments
 (0)