Skip to content

Commit 76a8bc5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update UA API docs to reflect deprecated values for estimated usage types (#2453)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 2e73b2f commit 76a8bc5

File tree

7 files changed

+37
-10
lines changed

7 files changed

+37
-10
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-07-08 19:08:07.248096",
8-
"spec_repo_commit": "7b042e12"
7+
"regenerated": "2025-07-09 16:47:20.787625",
8+
"spec_repo_commit": "d0906173"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-08 19:08:07.264039",
13-
"spec_repo_commit": "7b042e12"
12+
"regenerated": "2025-07-09 16:47:20.879372",
13+
"spec_repo_commit": "d0906173"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4171,7 +4171,10 @@ components:
41714171
type: array
41724172
type: object
41734173
HourlyUsageAttributionUsageType:
4174-
description: Supported products for hourly usage attribution requests.
4174+
description: 'Supported products for hourly usage attribution requests.
4175+
4176+
The following values have been **deprecated**: `estimated_indexed_spans_usage`,
4177+
`estimated_ingested_spans_usage`.'
41754178
enum:
41764179
- api_usage
41774180
- apm_fargate_usage
@@ -8535,7 +8538,10 @@ components:
85358538
- SCA_FARGATE_PERCENTAGE
85368539
- ALL
85378540
MonthlyUsageAttributionValues:
8538-
description: Fields in Usage Summary by tag(s).
8541+
description: 'Fields in Usage Summary by tag(s).
8542+
8543+
The following values have been **deprecated**: `estimated_indexed_spans_usage`,
8544+
`estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.'
85398545
properties:
85408546
api_percentage:
85418547
description: The percentage of synthetic API test usage by tag(s).
@@ -35406,7 +35412,9 @@ paths:
3540635412
schema:
3540735413
format: date-time
3540835414
type: string
35409-
- description: Usage type to retrieve.
35415+
- description: 'Usage type to retrieve. The following values have been **deprecated**:
35416+
35417+
`estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.'
3541035418
in: query
3541135419
name: usage_type
3541235420
required: true
@@ -35956,8 +35964,13 @@ paths:
3595635964
schema:
3595735965
format: date-time
3595835966
type: string
35959-
- description: Comma-separated list of usage types to return, or `*` for all
35967+
- description: 'Comma-separated list of usage types to return, or `*` for all
3596035968
usage types.
35969+
35970+
The following values have been **deprecated**:
35971+
35972+
`estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`,
35973+
`estimated_ingested_spans_percentage`.'
3596135974
in: query
3596235975
name: fields
3596335976
required: true
@@ -35969,7 +35982,12 @@ paths:
3596935982
required: false
3597035983
schema:
3597135984
$ref: '#/components/schemas/UsageSortDirection'
35972-
- description: The field to sort by.
35985+
- description: 'The field to sort by.
35986+
35987+
The following values have been **deprecated**:
35988+
35989+
`estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`,
35990+
`estimated_ingested_spans_percentage`.'
3597335991
in: query
3597435992
name: sort_name
3597535993
required: false

packages/datadog-api-client-v1/apis/UsageMeteringApi.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4408,7 +4408,8 @@ export interface UsageMeteringApiGetHourlyUsageAttributionRequest {
44084408
*/
44094409
startHr: Date;
44104410
/**
4411-
* Usage type to retrieve.
4411+
* Usage type to retrieve. The following values have been **deprecated**:
4412+
* `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
44124413
* @type HourlyUsageAttributionUsageType
44134414
*/
44144415
usageType: HourlyUsageAttributionUsageType;
@@ -4497,6 +4498,8 @@ export interface UsageMeteringApiGetMonthlyUsageAttributionRequest {
44974498
startMonth: Date;
44984499
/**
44994500
* Comma-separated list of usage types to return, or `*` for all usage types.
4501+
* The following values have been **deprecated**:
4502+
* `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
45004503
* @type MonthlyUsageAttributionSupportedMetrics
45014504
*/
45024505
fields: MonthlyUsageAttributionSupportedMetrics;
@@ -4512,6 +4515,8 @@ export interface UsageMeteringApiGetMonthlyUsageAttributionRequest {
45124515
sortDirection?: UsageSortDirection;
45134516
/**
45144517
* The field to sort by.
4518+
* The following values have been **deprecated**:
4519+
* `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
45154520
* @type MonthlyUsageAttributionSupportedMetrics
45164521
*/
45174522
sortName?: MonthlyUsageAttributionSupportedMetrics;

packages/datadog-api-client-v1/models/HourlyUsageAttributionBody.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export class HourlyUsageAttributionBody {
4949
"updatedAt"?: string;
5050
/**
5151
* Supported products for hourly usage attribution requests.
52+
* The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
5253
*/
5354
"usageType"?: HourlyUsageAttributionUsageType;
5455

packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
1010
* Supported products for hourly usage attribution requests.
11+
* The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
1112
*/
1213

1314
export type HourlyUsageAttributionUsageType =

packages/datadog-api-client-v1/models/MonthlyUsageAttributionBody.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export class MonthlyUsageAttributionBody {
4545
"updatedAt"?: Date;
4646
/**
4747
* Fields in Usage Summary by tag(s).
48+
* The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
4849
*/
4950
"values"?: MonthlyUsageAttributionValues;
5051

packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
88

99
/**
1010
* Fields in Usage Summary by tag(s).
11+
* The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
1112
*/
1213
export class MonthlyUsageAttributionValues {
1314
/**

0 commit comments

Comments
 (0)