Skip to content

Commit 25115bb

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add Usage Metering Cont Usage fields (#964)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 66915a3 commit 25115bb

File tree

6 files changed

+46
-4
lines changed

6 files changed

+46
-4
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2022-12-28 16:10:46.984442",
8-
"spec_repo_commit": "b2d7d94f"
7+
"regenerated": "2022-12-28 17:38:35.211249",
8+
"spec_repo_commit": "8cc05e11"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-12-28 16:10:46.996173",
13-
"spec_repo_commit": "b2d7d94f"
12+
"regenerated": "2022-12-28 17:38:35.226977",
13+
"spec_repo_commit": "8cc05e11"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -3670,6 +3670,7 @@ components:
36703670
- profiled_host_usage
36713671
- snmp_usage
36723672
- estimated_rum_sessions_usage
3673+
- cont_usage
36733674
type: string
36743675
x-enum-varnames:
36753676
- API_USAGE
@@ -3700,6 +3701,7 @@ components:
37003701
- PROFILED_HOST_USAGE
37013702
- SNMP_USAGE
37023703
- ESTIMATED_RUM_SESSIONS_USAGE
3704+
- CONT_USAGE
37033705
IFrameWidgetDefinition:
37043706
description: The iframe widget allows you to embed a portion of any other web
37053707
page on your dashboard. Only available on FREE layout dashboards.
@@ -7028,6 +7030,8 @@ components:
70287030
- snmp_percentage
70297031
- estimated_rum_sessions_usage
70307032
- estimated_rum_sessions_percentage
7033+
- cont_usage
7034+
- cont_percentage
70317035
- '*'
70327036
type: string
70337037
x-enum-varnames:
@@ -7087,6 +7091,8 @@ components:
70877091
- SNMP_PERCENTAGE
70887092
- ESTIMATED_RUM_SESSIONS_USAGE
70897093
- ESTIMATED_RUM_SESSIONS_PERCENTAGE
7094+
- CONT_USAGE
7095+
- CONT_PERCENTAGE
70907096
- ALL
70917097
MonthlyUsageAttributionValues:
70927098
description: Fields in Usage Summary by tag(s).
@@ -7142,6 +7148,15 @@ components:
71427148
description: The synthetic browser test usage by tag(s).
71437149
format: double
71447150
type: number
7151+
cont_percentage:
7152+
description: The percentage of container usage without the Datadog Agent
7153+
by tag(s).
7154+
format: double
7155+
type: number
7156+
cont_usage:
7157+
description: The container usage without Datadog agent by tag(s).
7158+
format: double
7159+
type: number
71457160
container_percentage:
71467161
description: The percentage of container usage by tag(s).
71477162
format: double

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

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export type HourlyUsageAttributionUsageType =
3939
| typeof PROFILED_HOST_USAGE
4040
| typeof SNMP_USAGE
4141
| typeof ESTIMATED_RUM_SESSIONS_USAGE
42+
| typeof CONT_USAGE
4243
| UnparsedObject;
4344
export const API_USAGE = "api_usage";
4445
export const APM_FARGATE_USAGE = "apm_fargate_usage";
@@ -68,3 +69,4 @@ export const PROFILED_CONTAINER_USAGE = "profiled_container_usage";
6869
export const PROFILED_HOST_USAGE = "profiled_host_usage";
6970
export const SNMP_USAGE = "snmp_usage";
7071
export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";
72+
export const CONT_USAGE = "cont_usage";

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

+4
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
6767
| typeof SNMP_PERCENTAGE
6868
| typeof ESTIMATED_RUM_SESSIONS_USAGE
6969
| typeof ESTIMATED_RUM_SESSIONS_PERCENTAGE
70+
| typeof CONT_USAGE
71+
| typeof CONT_PERCENTAGE
7072
| typeof ALL
7173
| UnparsedObject;
7274
export const API_USAGE = "api_usage";
@@ -130,4 +132,6 @@ export const SNMP_PERCENTAGE = "snmp_percentage";
130132
export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";
131133
export const ESTIMATED_RUM_SESSIONS_PERCENTAGE =
132134
"estimated_rum_sessions_percentage";
135+
export const CONT_USAGE = "cont_usage";
136+
export const CONT_PERCENTAGE = "cont_percentage";
133137
export const ALL = "*";

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

+18
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ export class MonthlyUsageAttributionValues {
5858
* The synthetic browser test usage by tag(s).
5959
*/
6060
"browserUsage"?: number;
61+
/**
62+
* The percentage of container usage without the Datadog Agent by tag(s).
63+
*/
64+
"contPercentage"?: number;
65+
/**
66+
* The container usage without Datadog agent by tag(s).
67+
*/
68+
"contUsage"?: number;
6169
/**
6270
* The percentage of container usage by tag(s).
6371
*/
@@ -304,6 +312,16 @@ export class MonthlyUsageAttributionValues {
304312
type: "number",
305313
format: "double",
306314
},
315+
contPercentage: {
316+
baseName: "cont_percentage",
317+
type: "number",
318+
format: "double",
319+
},
320+
contUsage: {
321+
baseName: "cont_usage",
322+
type: "number",
323+
format: "double",
324+
},
307325
containerPercentage: {
308326
baseName: "container_percentage",
309327
type: "number",

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

+3
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ const enumsMap: { [key: string]: any[] } = {
707707
"profiled_host_usage",
708708
"snmp_usage",
709709
"estimated_rum_sessions_usage",
710+
"cont_usage",
710711
],
711712
IFrameWidgetDefinitionType: ["iframe"],
712713
ImageWidgetDefinitionType: ["image"],
@@ -858,6 +859,8 @@ const enumsMap: { [key: string]: any[] } = {
858859
"snmp_percentage",
859860
"estimated_rum_sessions_usage",
860861
"estimated_rum_sessions_percentage",
862+
"cont_usage",
863+
"cont_percentage",
861864
"*",
862865
],
863866
NoteWidgetDefinitionType: ["note"],

0 commit comments

Comments
 (0)