Skip to content

Commit 44ca20c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add APM and USM usage attribution type (#1273)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 5d9a5aa commit 44ca20c

File tree

6 files changed

+46
-4
lines changed

6 files changed

+46
-4
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.5",
7-
"regenerated": "2023-08-16 07:23:46.459356",
8-
"spec_repo_commit": "f7f3d222"
7+
"regenerated": "2023-08-17 17:20:40.199652",
8+
"spec_repo_commit": "357af604"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-08-16 07:23:46.473906",
13-
"spec_repo_commit": "f7f3d222"
12+
"regenerated": "2023-08-17 17:20:40.214370",
13+
"spec_repo_commit": "357af604"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3887,6 +3887,7 @@ components:
38873887
- api_usage
38883888
- apm_fargate_usage
38893889
- apm_host_usage
3890+
- apm_usm_usage
38903891
- appsec_fargate_usage
38913892
- appsec_usage
38923893
- browser_usage
@@ -3924,6 +3925,7 @@ components:
39243925
- API_USAGE
39253926
- APM_FARGATE_USAGE
39263927
- APM_HOST_USAGE
3928+
- APM_USM_USAGE
39273929
- APPSEC_FARGATE_USAGE
39283930
- APPSEC_USAGE
39293931
- BROWSER_USAGE
@@ -7430,6 +7432,8 @@ components:
74307432
- appsec_fargate_percentage
74317433
- apm_host_usage
74327434
- apm_host_percentage
7435+
- apm_usm_usage
7436+
- apm_usm_percentage
74337437
- appsec_usage
74347438
- appsec_percentage
74357439
- browser_usage
@@ -7503,6 +7507,8 @@ components:
75037507
- APPSEC_FARGATE_PERCENTAGE
75047508
- APM_HOST_USAGE
75057509
- APM_HOST_PERCENTAGE
7510+
- APM_USM_USAGE
7511+
- APM_USM_PERCENTAGE
75067512
- APPSEC_USAGE
75077513
- APPSEC_PERCENTAGE
75087514
- BROWSER_USAGE
@@ -7593,6 +7599,15 @@ components:
75937599
description: The APM host usage by tag(s).
75947600
format: double
75957601
type: number
7602+
apm_usm_percentage:
7603+
description: The percentage of APM and Universal Service Monitoring host
7604+
usage by tag(s).
7605+
format: double
7606+
type: number
7607+
apm_usm_usage:
7608+
description: The APM and Universal Service Monitoring host usage by tag(s).
7609+
format: double
7610+
type: number
75967611
appsec_fargate_percentage:
75977612
description: The percentage of Application Security Monitoring ECS Fargate
75987613
task usage by tag(s).

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export type HourlyUsageAttributionUsageType =
1414
| typeof API_USAGE
1515
| typeof APM_FARGATE_USAGE
1616
| typeof APM_HOST_USAGE
17+
| typeof APM_USM_USAGE
1718
| typeof APPSEC_FARGATE_USAGE
1819
| typeof APPSEC_USAGE
1920
| typeof BROWSER_USAGE
@@ -50,6 +51,7 @@ export type HourlyUsageAttributionUsageType =
5051
export const API_USAGE = "api_usage";
5152
export const APM_FARGATE_USAGE = "apm_fargate_usage";
5253
export const APM_HOST_USAGE = "apm_host_usage";
54+
export const APM_USM_USAGE = "apm_usm_usage";
5355
export const APPSEC_FARGATE_USAGE = "appsec_fargate_usage";
5456
export const APPSEC_USAGE = "appsec_usage";
5557
export const BROWSER_USAGE = "browser_usage";

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
1919
| typeof APPSEC_FARGATE_PERCENTAGE
2020
| typeof APM_HOST_USAGE
2121
| typeof APM_HOST_PERCENTAGE
22+
| typeof APM_USM_USAGE
23+
| typeof APM_USM_PERCENTAGE
2224
| typeof APPSEC_USAGE
2325
| typeof APPSEC_PERCENTAGE
2426
| typeof BROWSER_USAGE
@@ -91,6 +93,8 @@ export const APPSEC_FARGATE_USAGE = "appsec_fargate_usage";
9193
export const APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage";
9294
export const APM_HOST_USAGE = "apm_host_usage";
9395
export const APM_HOST_PERCENTAGE = "apm_host_percentage";
96+
export const APM_USM_USAGE = "apm_usm_usage";
97+
export const APM_USM_PERCENTAGE = "apm_usm_percentage";
9498
export const APPSEC_USAGE = "appsec_usage";
9599
export const APPSEC_PERCENTAGE = "appsec_percentage";
96100
export const BROWSER_USAGE = "browser_usage";

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ export class MonthlyUsageAttributionValues {
3434
* The APM host usage by tag(s).
3535
*/
3636
"apmHostUsage"?: number;
37+
/**
38+
* The percentage of APM and Universal Service Monitoring host usage by tag(s).
39+
*/
40+
"apmUsmPercentage"?: number;
41+
/**
42+
* The APM and Universal Service Monitoring host usage by tag(s).
43+
*/
44+
"apmUsmUsage"?: number;
3745
/**
3846
* The percentage of Application Security Monitoring ECS Fargate task usage by tag(s).
3947
*/
@@ -330,6 +338,16 @@ export class MonthlyUsageAttributionValues {
330338
type: "number",
331339
format: "double",
332340
},
341+
apmUsmPercentage: {
342+
baseName: "apm_usm_percentage",
343+
type: "number",
344+
format: "double",
345+
},
346+
apmUsmUsage: {
347+
baseName: "apm_usm_usage",
348+
type: "number",
349+
format: "double",
350+
},
333351
appsecFargatePercentage: {
334352
baseName: "appsec_fargate_percentage",
335353
type: "number",

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ const enumsMap: { [key: string]: any[] } = {
734734
"api_usage",
735735
"apm_fargate_usage",
736736
"apm_host_usage",
737+
"apm_usm_usage",
737738
"appsec_fargate_usage",
738739
"appsec_usage",
739740
"browser_usage",
@@ -898,6 +899,8 @@ const enumsMap: { [key: string]: any[] } = {
898899
"appsec_fargate_percentage",
899900
"apm_host_usage",
900901
"apm_host_percentage",
902+
"apm_usm_usage",
903+
"apm_usm_percentage",
901904
"appsec_usage",
902905
"appsec_percentage",
903906
"browser_usage",

0 commit comments

Comments
 (0)