Skip to content

Commit 957c935

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add profiled fargate tasks to usage attribution (#1041)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 9666a68 commit 957c935

File tree

6 files changed

+45
-4
lines changed

6 files changed

+45
-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.4",
7-
"regenerated": "2023-02-22 19:40:52.609312",
8-
"spec_repo_commit": "837505a7"
7+
"regenerated": "2023-02-23 20:26:28.964128",
8+
"spec_repo_commit": "437dad25"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-02-22 19:40:52.622553",
13-
"spec_repo_commit": "837505a7"
12+
"regenerated": "2023-02-23 20:26:28.981074",
13+
"spec_repo_commit": "437dad25"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3665,6 +3665,7 @@ components:
36653665
- invocations_usage
36663666
- npm_host_usage
36673667
- profiled_container_usage
3668+
- profiled_fargate_usage
36683669
- profiled_host_usage
36693670
- snmp_usage
36703671
- estimated_rum_sessions_usage
@@ -3695,6 +3696,7 @@ components:
36953696
- INVOCATIONS_USAGE
36963697
- NPM_HOST_USAGE
36973698
- PROFILED_CONTAINER_USAGE
3699+
- PROFILED_FARGATE_USAGE
36983700
- PROFILED_HOST_USAGE
36993701
- SNMP_USAGE
37003702
- ESTIMATED_RUM_SESSIONS_USAGE
@@ -7138,6 +7140,8 @@ components:
71387140
- npm_host_percentage
71397141
- profiled_container_usage
71407142
- profiled_container_percentage
7143+
- profiled_fargate_usage
7144+
- profiled_fargate_percentage
71417145
- profiled_host_usage
71427146
- profiled_host_percentage
71437147
- snmp_usage
@@ -7197,6 +7201,8 @@ components:
71977201
- NPM_HOST_PERCENTAGE
71987202
- PROFILED_CONTAINER_USAGE
71997203
- PROFILED_CONTAINER_PERCENTAGE
7204+
- PROFILED_FARGATE_USAGE
7205+
- PROFILED_FARGATE_PERCENTAGE
72007206
- PROFILED_HOST_USAGE
72017207
- PROFILED_HOST_PERCENTAGE
72027208
- SNMP_USAGE
@@ -7420,6 +7426,14 @@ components:
74207426
description: The profiled container usage by tag(s).
74217427
format: double
74227428
type: number
7429+
profiled_fargate_percentage:
7430+
description: The percentage of profiled Fargate task usage by tag(s).
7431+
format: double
7432+
type: number
7433+
profiled_fargate_usage:
7434+
description: The profiled Fargate task usage by tag(s).
7435+
format: double
7436+
type: number
74237437
profiled_host_percentage:
74247438
description: The percentage of profiled hosts usage by tag(s).
74257439
format: double

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export type HourlyUsageAttributionUsageType =
3636
| typeof INVOCATIONS_USAGE
3737
| typeof NPM_HOST_USAGE
3838
| typeof PROFILED_CONTAINER_USAGE
39+
| typeof PROFILED_FARGATE_USAGE
3940
| typeof PROFILED_HOST_USAGE
4041
| typeof SNMP_USAGE
4142
| typeof ESTIMATED_RUM_SESSIONS_USAGE
@@ -65,6 +66,7 @@ export const INFRA_HOST_USAGE = "infra_host_usage";
6566
export const INVOCATIONS_USAGE = "invocations_usage";
6667
export const NPM_HOST_USAGE = "npm_host_usage";
6768
export const PROFILED_CONTAINER_USAGE = "profiled_container_usage";
69+
export const PROFILED_FARGATE_USAGE = "profiled_fargate_usage";
6870
export const PROFILED_HOST_USAGE = "profiled_host_usage";
6971
export const SNMP_USAGE = "snmp_usage";
7072
export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
6161
| typeof NPM_HOST_PERCENTAGE
6262
| typeof PROFILED_CONTAINER_USAGE
6363
| typeof PROFILED_CONTAINER_PERCENTAGE
64+
| typeof PROFILED_FARGATE_USAGE
65+
| typeof PROFILED_FARGATE_PERCENTAGE
6466
| typeof PROFILED_HOST_USAGE
6567
| typeof PROFILED_HOST_PERCENTAGE
6668
| typeof SNMP_USAGE
@@ -124,6 +126,8 @@ export const NPM_HOST_USAGE = "npm_host_usage";
124126
export const NPM_HOST_PERCENTAGE = "npm_host_percentage";
125127
export const PROFILED_CONTAINER_USAGE = "profiled_container_usage";
126128
export const PROFILED_CONTAINER_PERCENTAGE = "profiled_container_percentage";
129+
export const PROFILED_FARGATE_USAGE = "profiled_fargate_usage";
130+
export const PROFILED_FARGATE_PERCENTAGE = "profiled_fargate_percentage";
127131
export const PROFILED_HOST_USAGE = "profiled_host_usage";
128132
export const PROFILED_HOST_PERCENTAGE = "profiled_host_percentage";
129133
export const SNMP_USAGE = "snmp_usage";

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,14 @@ export class MonthlyUsageAttributionValues {
218218
* The profiled container usage by tag(s).
219219
*/
220220
"profiledContainerUsage"?: number;
221+
/**
222+
* The percentage of profiled Fargate task usage by tag(s).
223+
*/
224+
"profiledFargatePercentage"?: number;
225+
/**
226+
* The profiled Fargate task usage by tag(s).
227+
*/
228+
"profiledFargateUsage"?: number;
221229
/**
222230
* The percentage of profiled hosts usage by tag(s).
223231
*/
@@ -504,6 +512,16 @@ export class MonthlyUsageAttributionValues {
504512
type: "number",
505513
format: "double",
506514
},
515+
profiledFargatePercentage: {
516+
baseName: "profiled_fargate_percentage",
517+
type: "number",
518+
format: "double",
519+
},
520+
profiledFargateUsage: {
521+
baseName: "profiled_fargate_usage",
522+
type: "number",
523+
format: "double",
524+
},
507525
profiledHostPercentage: {
508526
baseName: "profiled_host_percentage",
509527
type: "number",

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,7 @@ const enumsMap: { [key: string]: any[] } = {
714714
"invocations_usage",
715715
"npm_host_usage",
716716
"profiled_container_usage",
717+
"profiled_fargate_usage",
717718
"profiled_host_usage",
718719
"snmp_usage",
719720
"estimated_rum_sessions_usage",
@@ -887,6 +888,8 @@ const enumsMap: { [key: string]: any[] } = {
887888
"npm_host_percentage",
888889
"profiled_container_usage",
889890
"profiled_container_percentage",
891+
"profiled_fargate_usage",
892+
"profiled_fargate_percentage",
890893
"profiled_host_usage",
891894
"profiled_host_percentage",
892895
"snmp_usage",

0 commit comments

Comments
 (0)