diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d3b9ce53dd..391712ef5b 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -88602,14 +88602,18 @@ paths: - logs_read_data /api/v2/metrics: get: - description: "Returns all metrics that can be configured in the Metrics Summary - page or with Metrics without Limits\u2122 (matching additional filters if - specified).\nOptionally, paginate by using the `page[cursor]` and/or `page[size]` - query parameters.\nTo 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.\nOnce the `meta.pagination.next_cursor` value is null, - all pages have been retrieved." + description: 'Returns all metrics for your organization that match the given + filter parameters. + + Optionally, paginate by using the `page[cursor]` and/or `page[size]` query + parameters. + + 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. + + Once the `meta.pagination.next_cursor` value is null, all pages have been + retrieved.' operationId: ListTagConfigurations parameters: - description: Filter custom metrics that have configured tags. @@ -88674,7 +88678,7 @@ paths: - description: 'The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query. - Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).' + Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).' example: 3600 in: query name: window[seconds] diff --git a/src/datadog_api_client/v2/api/metrics_api.py b/src/datadog_api_client/v2/api/metrics_api.py index afe7c89638..4a58239a60 100644 --- a/src/datadog_api_client/v2/api/metrics_api.py +++ b/src/datadog_api_client/v2/api/metrics_api.py @@ -778,7 +778,7 @@ def list_tag_configurations( ) -> MetricsAndMetricTagConfigurationsResponse: """Get a list of metrics. - Returns all metrics that can be configured in the Metrics Summary page or with Metrics without Limits™ (matching additional filters if specified). + Returns all metrics for your organization that match the given filter parameters. Optionally, paginate by using the ``page[cursor]`` and/or ``page[size]`` query parameters. 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. Once the ``meta.pagination.next_cursor`` value is null, all pages have been retrieved. @@ -801,7 +801,7 @@ def list_tag_configurations( :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. - Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days). + 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. :type page_size: int, optional @@ -880,7 +880,7 @@ def list_tag_configurations_with_pagination( :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. - Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days). + 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. :type page_size: int, optional