Skip to content

Commit 98b794a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f3c29c5 of spec repo
1 parent de9a042 commit 98b794a

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107405,6 +107405,8 @@ paths:
107405107405
get:
107406107406
description: |-
107407107407
Get a list of actively reporting metrics for your organization. Pagination is optional using the `page[cursor]` and `page[size]` query parameters.
107408+
107409+
Query parameters use bracket notation (for example, `filter[tags]`, `filter[queried][window][seconds]`). Pass them as standard URL query strings, URL-encoding the brackets if your client does not handle them. For example: `GET /api/v2/metrics?filter[tags]=env:prod&window[seconds]=86400&page[size]=500`.
107408107410
operationId: ListTagConfigurations
107409107411
parameters:
107410107412
- description: Only return custom metrics that have been configured with Metrics Without Limits.
@@ -107444,7 +107446,7 @@ paths:
107444107446
schema:
107445107447
type: boolean
107446107448
- description: |-
107447-
Only return metrics that have been queried or not queried in the specified window. Dependent on being sent with `filter[queried]`. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second.
107449+
This parameter has no effect unless `filter[queried]` is also set. Only return metrics that have been queried or not queried in the specified window. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second. For example: `filter[queried]=true&filter[queried][window][seconds]=604800`.
107448107450
example: 15552000
107449107451
in: query
107450107452
name: filter[queried][window][seconds]
@@ -107456,7 +107458,7 @@ paths:
107456107458
minimum: 1
107457107459
type: integer
107458107460
- description: |-
107459-
Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards (for example, service:web*).
107461+
Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards. For example: `filter[tags]=env IN (staging,test) AND service:web*`.
107460107462
example: "env IN (staging,test) AND service:web*"
107461107463
in: query
107462107464
name: filter[tags]
@@ -107483,7 +107485,8 @@ paths:
107483107485
maximum: 2592000
107484107486
minimum: 1
107485107487
type: integer
107486-
- description: Maximum number of results per page. Use with `page[cursor]` for pagination. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
107488+
- description: |-
107489+
Maximum number of results per page. Send `page[size]` on the first request to opt in to pagination. On each subsequent request, send `page[cursor]` set to the value of `meta.pagination.next_cursor` from the previous response. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
107487107490
in: query
107488107491
name: page[size]
107489107492
required: false
@@ -107887,7 +107890,8 @@ paths:
107887107890
operationId: EstimateMetricsOutputSeries
107888107891
parameters:
107889107892
- $ref: "#/components/parameters/MetricName"
107890-
- description: Filtered tag keys that the metric is configured to query with.
107893+
- description: |-
107894+
Comma-separated list of tag keys that the metric is configured to query with. For example: `filter[groups]=app,host`.
107891107895
example: "app,host"
107892107896
in: query
107893107897
name: filter[groups]

services/metrics/src/v2/MetricsApi.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,7 +2033,7 @@ export interface MetricsApiEstimateMetricsOutputSeriesRequest {
20332033
*/
20342034
metricName: string;
20352035
/**
2036-
* Filtered tag keys that the metric is configured to query with.
2036+
* Comma-separated list of tag keys that the metric is configured to query with. For example: `filter[groups]=app,host`.
20372037
* @type string
20382038
*/
20392039
filterGroups?: string;
@@ -2124,12 +2124,12 @@ export interface MetricsApiListTagConfigurationsRequest {
21242124
*/
21252125
filterQueried?: boolean;
21262126
/**
2127-
* Only return metrics that have been queried or not queried in the specified window. Dependent on being sent with `filter[queried]`. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second.
2127+
* This parameter has no effect unless `filter[queried]` is also set. Only return metrics that have been queried or not queried in the specified window. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second. For example: `filter[queried]=true&filter[queried][window][seconds]=604800`.
21282128
* @type number
21292129
*/
21302130
filterQueriedWindowSeconds?: number;
21312131
/**
2132-
* Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards (for example, service:web*).
2132+
* Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards. For example: `filter[tags]=env IN (staging,test) AND service:web*`.
21332133
* @type string
21342134
*/
21352135
filterTags?: string;
@@ -2144,7 +2144,7 @@ export interface MetricsApiListTagConfigurationsRequest {
21442144
*/
21452145
windowSeconds?: number;
21462146
/**
2147-
* Maximum number of results per page. Use with `page[cursor]` for pagination. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
2147+
* Maximum number of results per page. Send `page[size]` on the first request to opt in to pagination. On each subsequent request, send `page[cursor]` set to the value of `meta.pagination.next_cursor` from the previous response. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
21482148
* @type number
21492149
*/
21502150
pageSize?: number;
@@ -2491,6 +2491,8 @@ export class MetricsApi {
24912491

24922492
/**
24932493
* Get a list of actively reporting metrics for your organization. Pagination is optional using the `page[cursor]` and `page[size]` query parameters.
2494+
*
2495+
* Query parameters use bracket notation (for example, `filter[tags]`, `filter[queried][window][seconds]`). Pass them as standard URL query strings, URL-encoding the brackets if your client does not handle them. For example: `GET /api/v2/metrics?filter[tags]=env:prod&window[seconds]=86400&page[size]=500`.
24942496
* @param param The request object
24952497
*/
24962498
public listTagConfigurations(

0 commit comments

Comments
 (0)