Skip to content

Commit b0a1a3d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add Usage Metering container_excl_agent_usage fields (#1008)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 49f4069 commit b0a1a3d

File tree

6 files changed

+28
-27
lines changed

6 files changed

+28
-27
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.4",
7-
"regenerated": "2023-02-06 21:06:31.366332",
8-
"spec_repo_commit": "17eb9903"
7+
"regenerated": "2023-02-08 15:58:27.051159",
8+
"spec_repo_commit": "7c0c43cc"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-02-06 21:06:31.380616",
13-
"spec_repo_commit": "17eb9903"
12+
"regenerated": "2023-02-08 15:58:27.063520",
13+
"spec_repo_commit": "7c0c43cc"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3652,6 +3652,7 @@ components:
36523652
- appsec_fargate_usage
36533653
- appsec_usage
36543654
- browser_usage
3655+
- container_excl_agent_usage
36553656
- container_usage
36563657
- cspm_containers_usage
36573658
- cspm_hosts_usage
@@ -3673,7 +3674,6 @@ components:
36733674
- profiled_host_usage
36743675
- snmp_usage
36753676
- estimated_rum_sessions_usage
3676-
- cont_usage
36773677
type: string
36783678
x-enum-varnames:
36793679
- API_USAGE
@@ -3682,6 +3682,7 @@ components:
36823682
- APPSEC_FARGATE_USAGE
36833683
- APPSEC_USAGE
36843684
- BROWSER_USAGE
3685+
- CONTAINER_EXCL_AGENT_USAGE
36853686
- CONTAINER_USAGE
36863687
- CSPM_CONTAINERS_USAGE
36873688
- CSPM_HOSTS_USAGE
@@ -3703,7 +3704,6 @@ components:
37033704
- PROFILED_HOST_USAGE
37043705
- SNMP_USAGE
37053706
- ESTIMATED_RUM_SESSIONS_USAGE
3706-
- CONT_USAGE
37073707
IFrameWidgetDefinition:
37083708
description: The iframe widget allows you to embed a portion of any other web
37093709
page on your dashboard. Only available on FREE layout dashboards.
@@ -7084,6 +7084,8 @@ components:
70847084
- appsec_percentage
70857085
- browser_usage
70867086
- browser_percentage
7087+
- container_excl_agent_usage
7088+
- container_excl_agent_percentage
70877089
- container_usage
70887090
- container_percentage
70897091
- cspm_containers_percentage
@@ -7126,8 +7128,6 @@ components:
71267128
- snmp_percentage
71277129
- estimated_rum_sessions_usage
71287130
- estimated_rum_sessions_percentage
7129-
- cont_usage
7130-
- cont_percentage
71317131
- '*'
71327132
type: string
71337133
x-enum-varnames:
@@ -7143,6 +7143,8 @@ components:
71437143
- APPSEC_PERCENTAGE
71447144
- BROWSER_USAGE
71457145
- BROWSER_PERCENTAGE
7146+
- CONTAINER_EXCL_AGENT_USAGE
7147+
- CONTAINER_EXCL_AGENT_PERCENTAGE
71467148
- CONTAINER_USAGE
71477149
- CONTAINER_PERCENTAGE
71487150
- CSPM_CONTAINERS_PERCENTAGE
@@ -7185,8 +7187,6 @@ components:
71857187
- SNMP_PERCENTAGE
71867188
- ESTIMATED_RUM_SESSIONS_USAGE
71877189
- ESTIMATED_RUM_SESSIONS_PERCENTAGE
7188-
- CONT_USAGE
7189-
- CONT_PERCENTAGE
71907190
- ALL
71917191
MonthlyUsageAttributionValues:
71927192
description: Fields in Usage Summary by tag(s).
@@ -7242,12 +7242,12 @@ components:
72427242
description: The synthetic browser test usage by tag(s).
72437243
format: double
72447244
type: number
7245-
cont_percentage:
7245+
container_excl_agent_percentage:
72467246
description: The percentage of container usage without the Datadog Agent
72477247
by tag(s).
72487248
format: double
72497249
type: number
7250-
cont_usage:
7250+
container_excl_agent_usage:
72517251
description: The container usage without the Datadog Agent by tag(s).
72527252
format: double
72537253
type: number

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export type HourlyUsageAttributionUsageType =
1717
| typeof APPSEC_FARGATE_USAGE
1818
| typeof APPSEC_USAGE
1919
| typeof BROWSER_USAGE
20+
| typeof CONTAINER_EXCL_AGENT_USAGE
2021
| typeof CONTAINER_USAGE
2122
| typeof CSPM_CONTAINERS_USAGE
2223
| typeof CSPM_HOSTS_USAGE
@@ -38,14 +39,14 @@ export type HourlyUsageAttributionUsageType =
3839
| typeof PROFILED_HOST_USAGE
3940
| typeof SNMP_USAGE
4041
| typeof ESTIMATED_RUM_SESSIONS_USAGE
41-
| typeof CONT_USAGE
4242
| UnparsedObject;
4343
export const API_USAGE = "api_usage";
4444
export const APM_FARGATE_USAGE = "apm_fargate_usage";
4545
export const APM_HOST_USAGE = "apm_host_usage";
4646
export const APPSEC_FARGATE_USAGE = "appsec_fargate_usage";
4747
export const APPSEC_USAGE = "appsec_usage";
4848
export const BROWSER_USAGE = "browser_usage";
49+
export const CONTAINER_EXCL_AGENT_USAGE = "container_excl_agent_usage";
4950
export const CONTAINER_USAGE = "container_usage";
5051
export const CSPM_CONTAINERS_USAGE = "cspm_containers_usage";
5152
export const CSPM_HOSTS_USAGE = "cspm_hosts_usage";
@@ -67,4 +68,3 @@ export const PROFILED_CONTAINER_USAGE = "profiled_container_usage";
6768
export const PROFILED_HOST_USAGE = "profiled_host_usage";
6869
export const SNMP_USAGE = "snmp_usage";
6970
export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";
70-
export const CONT_USAGE = "cont_usage";

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
2323
| typeof APPSEC_PERCENTAGE
2424
| typeof BROWSER_USAGE
2525
| typeof BROWSER_PERCENTAGE
26+
| typeof CONTAINER_EXCL_AGENT_USAGE
27+
| typeof CONTAINER_EXCL_AGENT_PERCENTAGE
2628
| typeof CONTAINER_USAGE
2729
| typeof CONTAINER_PERCENTAGE
2830
| typeof CSPM_CONTAINERS_PERCENTAGE
@@ -65,8 +67,6 @@ export type MonthlyUsageAttributionSupportedMetrics =
6567
| typeof SNMP_PERCENTAGE
6668
| typeof ESTIMATED_RUM_SESSIONS_USAGE
6769
| typeof ESTIMATED_RUM_SESSIONS_PERCENTAGE
68-
| typeof CONT_USAGE
69-
| typeof CONT_PERCENTAGE
7070
| typeof ALL
7171
| UnparsedObject;
7272
export const API_USAGE = "api_usage";
@@ -81,6 +81,9 @@ export const APPSEC_USAGE = "appsec_usage";
8181
export const APPSEC_PERCENTAGE = "appsec_percentage";
8282
export const BROWSER_USAGE = "browser_usage";
8383
export const BROWSER_PERCENTAGE = "browser_percentage";
84+
export const CONTAINER_EXCL_AGENT_USAGE = "container_excl_agent_usage";
85+
export const CONTAINER_EXCL_AGENT_PERCENTAGE =
86+
"container_excl_agent_percentage";
8487
export const CONTAINER_USAGE = "container_usage";
8588
export const CONTAINER_PERCENTAGE = "container_percentage";
8689
export const CSPM_CONTAINERS_PERCENTAGE = "cspm_containers_percentage";
@@ -128,6 +131,4 @@ export const SNMP_PERCENTAGE = "snmp_percentage";
128131
export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";
129132
export const ESTIMATED_RUM_SESSIONS_PERCENTAGE =
130133
"estimated_rum_sessions_percentage";
131-
export const CONT_USAGE = "cont_usage";
132-
export const CONT_PERCENTAGE = "cont_percentage";
133134
export const ALL = "*";

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ export class MonthlyUsageAttributionValues {
6161
/**
6262
* The percentage of container usage without the Datadog Agent by tag(s).
6363
*/
64-
"contPercentage"?: number;
64+
"containerExclAgentPercentage"?: number;
6565
/**
6666
* The container usage without the Datadog Agent by tag(s).
6767
*/
68-
"contUsage"?: number;
68+
"containerExclAgentUsage"?: number;
6969
/**
7070
* The percentage of container usage by tag(s).
7171
*/
@@ -304,13 +304,13 @@ export class MonthlyUsageAttributionValues {
304304
type: "number",
305305
format: "double",
306306
},
307-
contPercentage: {
308-
baseName: "cont_percentage",
307+
containerExclAgentPercentage: {
308+
baseName: "container_excl_agent_percentage",
309309
type: "number",
310310
format: "double",
311311
},
312-
contUsage: {
313-
baseName: "cont_usage",
312+
containerExclAgentUsage: {
313+
baseName: "container_excl_agent_usage",
314314
type: "number",
315315
format: "double",
316316
},

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,7 @@ const enumsMap: { [key: string]: any[] } = {
693693
"appsec_fargate_usage",
694694
"appsec_usage",
695695
"browser_usage",
696+
"container_excl_agent_usage",
696697
"container_usage",
697698
"cspm_containers_usage",
698699
"cspm_hosts_usage",
@@ -714,7 +715,6 @@ const enumsMap: { [key: string]: any[] } = {
714715
"profiled_host_usage",
715716
"snmp_usage",
716717
"estimated_rum_sessions_usage",
717-
"cont_usage",
718718
],
719719
IFrameWidgetDefinitionType: ["iframe"],
720720
ImageWidgetDefinitionType: ["image"],
@@ -846,6 +846,8 @@ const enumsMap: { [key: string]: any[] } = {
846846
"appsec_percentage",
847847
"browser_usage",
848848
"browser_percentage",
849+
"container_excl_agent_usage",
850+
"container_excl_agent_percentage",
849851
"container_usage",
850852
"container_percentage",
851853
"cspm_containers_percentage",
@@ -888,8 +890,6 @@ const enumsMap: { [key: string]: any[] } = {
888890
"snmp_percentage",
889891
"estimated_rum_sessions_usage",
890892
"estimated_rum_sessions_percentage",
891-
"cont_usage",
892-
"cont_percentage",
893893
"*",
894894
],
895895
NoteWidgetDefinitionType: ["note"],

0 commit comments

Comments
 (0)