Skip to content

Commit c3af908

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

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
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]

lib/datadog_api_client/v2/api/metrics_api.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ def list_tag_configurations(opts = {})
667667

668668
# Get a list of metrics.
669669
#
670-
# Returns all metrics that can be configured in the Metrics Summary page or with Metrics without Limits™ (matching additional filters if specified).
670+
# Returns all metrics for your organization that match the given filter parameters.
671671
# Optionally, paginate by using the `page[cursor]` and/or `page[size]` query parameters.
672672
# 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.
673673
# Once the `meta.pagination.next_cursor` value is null, all pages have been retrieved.
@@ -681,7 +681,7 @@ def list_tag_configurations(opts = {})
681681
# @option opts [Integer] :filter_queried_window_seconds The number of seconds of look back (from now) used by the `filter[queried]` filter logic. 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`.
682682
# @option opts [String] :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.
683683
# @option opts [Boolean] :filter_related_assets (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
684-
# @option opts [Integer] :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).
684+
# @option opts [Integer] :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 5,184,000 (60 days).
685685
# @option opts [Integer] :page_size Maximum number of results returned.
686686
# @option opts [String] :page_cursor String to query the next page of results. This key is provided with each valid response from the API in `meta.pagination.next_cursor`. Once the `meta.pagination.next_cursor` key is null, all pages have been retrieved.
687687
# @return [Array<(MetricsAndMetricTagConfigurationsResponse, Integer, Hash)>] MetricsAndMetricTagConfigurationsResponse data, response status code and response headers

0 commit comments

Comments
 (0)