Skip to content

Commit 5f76161

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add new fields to usage metering api spec (#3077)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 04a50bb commit 5f76161

File tree

4 files changed

+168
-0
lines changed

4 files changed

+168
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20913,6 +20913,11 @@ components:
2091320913
for the given date and given organization.
2091420914
format: int64
2091520915
type: integer
20916+
cloud_cost_management_oci_host_count_avg:
20917+
description: Average host count for Cloud Cost Management on OCI for the
20918+
given date and organization.
20919+
format: int64
20920+
type: integer
2091620921
cloud_siem_events_sum:
2091720922
description: Shows the sum of all Cloud Security Information and Event Management
2091820923
events over all hours in the current date for the given org.
@@ -21147,6 +21152,11 @@ components:
2114721152
Plus over all hours in the current date for the given org.
2114821153
format: int64
2114921154
type: integer
21155+
eph_infra_host_proxmox_sum:
21156+
description: Sum of all ephemeral infrastructure hosts for Proxmox over
21157+
all hours in the current date for all organizations.
21158+
format: int64
21159+
type: integer
2115021160
error_tracking_apm_error_events_sum:
2115121161
description: Shows the sum of all Error Tracking APM error events over all
2115221162
hours in the current date for the given org.
@@ -21443,6 +21453,16 @@ components:
2144321453
within the current date for all organizations.
2144421454
format: int64
2144521455
type: integer
21456+
proxmox_host_sum:
21457+
description: Sum of all Proxmox hosts over all hours in the current date
21458+
for all organizations.
21459+
format: int64
21460+
type: integer
21461+
proxmox_host_top99p:
21462+
description: 99th percentile of all Proxmox hosts over all hours in the
21463+
current date for all organizations.
21464+
format: int64
21465+
type: integer
2144621466
published_app_hwm:
2144721467
description: Shows the high-water mark of all published applications over
2144821468
all hours in the current date for all organizations.
@@ -22026,6 +22046,11 @@ components:
2202622046
for the given date and given org.
2202722047
format: int64
2202822048
type: integer
22049+
cloud_cost_management_oci_host_count_avg:
22050+
description: Average host count for Cloud Cost Management on OCI for the
22051+
given date and organization.
22052+
format: int64
22053+
type: integer
2202922054
cloud_siem_events_sum:
2203022055
description: Shows the sum of all Cloud Security Information and Event Management
2203122056
events over all hours in the current date for the given org.
@@ -22266,6 +22291,11 @@ components:
2226622291
Plus over all hours in the current date for the given org.
2226722292
format: int64
2226822293
type: integer
22294+
eph_infra_host_proxmox_sum:
22295+
description: Sum of all ephemeral infrastructure hosts for Proxmox over
22296+
all hours in the current date for the given organization.
22297+
format: int64
22298+
type: integer
2226922299
error_tracking_apm_error_events_sum:
2227022300
description: Shows the sum of all Error Tracking APM error events over all
2227122301
hours in the current date for the given org.
@@ -22560,6 +22590,16 @@ components:
2256022590
within the current date for the given org.
2256122591
format: int64
2256222592
type: integer
22593+
proxmox_host_sum:
22594+
description: Sum of all Proxmox hosts over all hours in the current date
22595+
for the given organization.
22596+
format: int64
22597+
type: integer
22598+
proxmox_host_top99p:
22599+
description: 99th percentile of all Proxmox hosts over all hours in the
22600+
current date for the given organization.
22601+
format: int64
22602+
type: integer
2256322603
public_id:
2256422604
description: The organization public id.
2256522605
type: string
@@ -23149,6 +23189,11 @@ components:
2314923189
all cloud providers.
2315023190
format: int64
2315123191
type: integer
23192+
cloud_cost_management_oci_host_count_avg_sum:
23193+
description: Sum of the average host counts for Cloud Cost Management on
23194+
OCI.
23195+
format: int64
23196+
type: integer
2315223197
cloud_siem_events_agg_sum:
2315323198
description: Shows the sum of all Cloud Security Information and Event Management
2315423199
events over all hours in the current month for all organizations.
@@ -23390,6 +23435,11 @@ components:
2339023435
Plus over all hours in the current month for all organizations.
2339123436
format: int64
2339223437
type: integer
23438+
eph_infra_host_proxmox_agg_sum:
23439+
description: Sum of all ephemeral infrastructure hosts for Proxmox over
23440+
all hours in the current month for all organizations.
23441+
format: int64
23442+
type: integer
2339323443
error_tracking_apm_error_events_agg_sum:
2339423444
description: Shows the sum of all Error Tracking APM error events over all
2339523445
hours in the current month for all organizations.
@@ -23708,6 +23758,16 @@ components:
2370823758
in the current month for all organizations.
2370923759
format: int64
2371023760
type: integer
23761+
proxmox_host_agg_sum:
23762+
description: Sum of all Proxmox hosts over all hours in the current month
23763+
for all organizations.
23764+
format: int64
23765+
type: integer
23766+
proxmox_host_top99p_sum:
23767+
description: Sum of the 99th percentile of all Proxmox hosts over all hours
23768+
in the current month for all organizations.
23769+
format: int64
23770+
type: integer
2371123771
published_app_hwm_sum:
2371223772
description: Shows the high-water mark of all published applications over
2371323773
all hours in the current month for all organizations.

services/usage_metering/src/v1/models/UsageSummaryDate.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ export class UsageSummaryDate {
126126
* Host count average of Cloud Cost Management for all cloud providers for the given date and given organization.
127127
*/
128128
"cloudCostManagementHostCountAvg"?: number;
129+
/**
130+
* Average host count for Cloud Cost Management on OCI for the given date and organization.
131+
*/
132+
"cloudCostManagementOciHostCountAvg"?: number;
129133
/**
130134
* Shows the sum of all Cloud Security Information and Event Management events over all hours in the current date for the given org.
131135
*/
@@ -306,6 +310,10 @@ export class UsageSummaryDate {
306310
* Shows the sum of all ephemeral infrastructure hosts for Pro Plus over all hours in the current date for the given org.
307311
*/
308312
"ephInfraHostProplusSum"?: number;
313+
/**
314+
* Sum of all ephemeral infrastructure hosts for Proxmox over all hours in the current date for all organizations.
315+
*/
316+
"ephInfraHostProxmoxSum"?: number;
309317
/**
310318
* Shows the sum of all Error Tracking APM error events over all hours in the current date for the given org.
311319
*/
@@ -526,6 +534,14 @@ export class UsageSummaryDate {
526534
* Shows the 99th percentile of all profiled hosts over all hours within the current date for all organizations.
527535
*/
528536
"profilingHostTop99P"?: number;
537+
/**
538+
* Sum of all Proxmox hosts over all hours in the current date for all organizations.
539+
*/
540+
"proxmoxHostSum"?: number;
541+
/**
542+
* 99th percentile of all Proxmox hosts over all hours in the current date for all organizations.
543+
*/
544+
"proxmoxHostTop99P"?: number;
529545
/**
530546
* Shows the high-water mark of all published applications over all hours in the current date for all organizations.
531547
*/
@@ -995,6 +1011,11 @@ export class UsageSummaryDate {
9951011
type: "number",
9961012
format: "int64",
9971013
},
1014+
cloudCostManagementOciHostCountAvg: {
1015+
baseName: "cloud_cost_management_oci_host_count_avg",
1016+
type: "number",
1017+
format: "int64",
1018+
},
9981019
cloudSiemEventsSum: {
9991020
baseName: "cloud_siem_events_sum",
10001021
type: "number",
@@ -1220,6 +1241,11 @@ export class UsageSummaryDate {
12201241
type: "number",
12211242
format: "int64",
12221243
},
1244+
ephInfraHostProxmoxSum: {
1245+
baseName: "eph_infra_host_proxmox_sum",
1246+
type: "number",
1247+
format: "int64",
1248+
},
12231249
errorTrackingApmErrorEventsSum: {
12241250
baseName: "error_tracking_apm_error_events_sum",
12251251
type: "number",
@@ -1494,6 +1520,16 @@ export class UsageSummaryDate {
14941520
type: "number",
14951521
format: "int64",
14961522
},
1523+
proxmoxHostSum: {
1524+
baseName: "proxmox_host_sum",
1525+
type: "number",
1526+
format: "int64",
1527+
},
1528+
proxmoxHostTop99P: {
1529+
baseName: "proxmox_host_top99p",
1530+
type: "number",
1531+
format: "int64",
1532+
},
14971533
publishedAppHwm: {
14981534
baseName: "published_app_hwm",
14991535
type: "number",

services/usage_metering/src/v1/models/UsageSummaryDateOrg.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ export class UsageSummaryDateOrg {
132132
* Host count average of Cloud Cost Management for all cloud providers for the given date and given org.
133133
*/
134134
"cloudCostManagementHostCountAvg"?: number;
135+
/**
136+
* Average host count for Cloud Cost Management on OCI for the given date and organization.
137+
*/
138+
"cloudCostManagementOciHostCountAvg"?: number;
135139
/**
136140
* Shows the sum of all Cloud Security Information and Event Management events over all hours in the current date for the given org.
137141
*/
@@ -316,6 +320,10 @@ export class UsageSummaryDateOrg {
316320
* Shows the sum of all ephemeral infrastructure hosts for Pro Plus over all hours in the current date for the given org.
317321
*/
318322
"ephInfraHostProplusSum"?: number;
323+
/**
324+
* Sum of all ephemeral infrastructure hosts for Proxmox over all hours in the current date for the given organization.
325+
*/
326+
"ephInfraHostProxmoxSum"?: number;
319327
/**
320328
* Shows the sum of all Error Tracking APM error events over all hours in the current date for the given org.
321329
*/
@@ -540,6 +548,14 @@ export class UsageSummaryDateOrg {
540548
* Shows the 99th percentile of all profiled hosts over all hours within the current date for the given org.
541549
*/
542550
"profilingHostTop99P"?: number;
551+
/**
552+
* Sum of all Proxmox hosts over all hours in the current date for the given organization.
553+
*/
554+
"proxmoxHostSum"?: number;
555+
/**
556+
* 99th percentile of all Proxmox hosts over all hours in the current date for the given organization.
557+
*/
558+
"proxmoxHostTop99P"?: number;
543559
/**
544560
* The organization public id.
545561
*/
@@ -1025,6 +1041,11 @@ export class UsageSummaryDateOrg {
10251041
type: "number",
10261042
format: "int64",
10271043
},
1044+
cloudCostManagementOciHostCountAvg: {
1045+
baseName: "cloud_cost_management_oci_host_count_avg",
1046+
type: "number",
1047+
format: "int64",
1048+
},
10281049
cloudSiemEventsSum: {
10291050
baseName: "cloud_siem_events_sum",
10301051
type: "number",
@@ -1255,6 +1276,11 @@ export class UsageSummaryDateOrg {
12551276
type: "number",
12561277
format: "int64",
12571278
},
1279+
ephInfraHostProxmoxSum: {
1280+
baseName: "eph_infra_host_proxmox_sum",
1281+
type: "number",
1282+
format: "int64",
1283+
},
12581284
errorTrackingApmErrorEventsSum: {
12591285
baseName: "error_tracking_apm_error_events_sum",
12601286
type: "number",
@@ -1533,6 +1559,16 @@ export class UsageSummaryDateOrg {
15331559
type: "number",
15341560
format: "int64",
15351561
},
1562+
proxmoxHostSum: {
1563+
baseName: "proxmox_host_sum",
1564+
type: "number",
1565+
format: "int64",
1566+
},
1567+
proxmoxHostTop99P: {
1568+
baseName: "proxmox_host_top99p",
1569+
type: "number",
1570+
format: "int64",
1571+
},
15361572
publicId: {
15371573
baseName: "public_id",
15381574
type: "string",

services/usage_metering/src/v1/models/UsageSummaryResponse.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ export class UsageSummaryResponse {
131131
* Sum of the host count average for Cloud Cost Management for all cloud providers.
132132
*/
133133
"cloudCostManagementHostCountAvgSum"?: number;
134+
/**
135+
* Sum of the average host counts for Cloud Cost Management on OCI.
136+
*/
137+
"cloudCostManagementOciHostCountAvgSum"?: number;
134138
/**
135139
* Shows the sum of all Cloud Security Information and Event Management events over all hours in the current month for all organizations.
136140
*/
@@ -319,6 +323,10 @@ export class UsageSummaryResponse {
319323
* Shows the sum of all ephemeral infrastructure hosts for Pro Plus over all hours in the current month for all organizations.
320324
*/
321325
"ephInfraHostProplusAggSum"?: number;
326+
/**
327+
* Sum of all ephemeral infrastructure hosts for Proxmox over all hours in the current month for all organizations.
328+
*/
329+
"ephInfraHostProxmoxAggSum"?: number;
322330
/**
323331
* Shows the sum of all Error Tracking APM error events over all hours in the current month for all organizations.
324332
*/
@@ -555,6 +563,14 @@ export class UsageSummaryResponse {
555563
* Shows the 99th percentile of all profiled hosts over all hours in the current month for all organizations.
556564
*/
557565
"profilingHostCountTop99PSum"?: number;
566+
/**
567+
* Sum of all Proxmox hosts over all hours in the current month for all organizations.
568+
*/
569+
"proxmoxHostAggSum"?: number;
570+
/**
571+
* Sum of the 99th percentile of all Proxmox hosts over all hours in the current month for all organizations.
572+
*/
573+
"proxmoxHostTop99PSum"?: number;
558574
/**
559575
* Shows the high-water mark of all published applications over all hours in the current month for all organizations.
560576
*/
@@ -1045,6 +1061,11 @@ export class UsageSummaryResponse {
10451061
type: "number",
10461062
format: "int64",
10471063
},
1064+
cloudCostManagementOciHostCountAvgSum: {
1065+
baseName: "cloud_cost_management_oci_host_count_avg_sum",
1066+
type: "number",
1067+
format: "int64",
1068+
},
10481069
cloudSiemEventsAggSum: {
10491070
baseName: "cloud_siem_events_agg_sum",
10501071
type: "number",
@@ -1280,6 +1301,11 @@ export class UsageSummaryResponse {
12801301
type: "number",
12811302
format: "int64",
12821303
},
1304+
ephInfraHostProxmoxAggSum: {
1305+
baseName: "eph_infra_host_proxmox_agg_sum",
1306+
type: "number",
1307+
format: "int64",
1308+
},
12831309
errorTrackingApmErrorEventsAggSum: {
12841310
baseName: "error_tracking_apm_error_events_agg_sum",
12851311
type: "number",
@@ -1575,6 +1601,16 @@ export class UsageSummaryResponse {
15751601
type: "number",
15761602
format: "int64",
15771603
},
1604+
proxmoxHostAggSum: {
1605+
baseName: "proxmox_host_agg_sum",
1606+
type: "number",
1607+
format: "int64",
1608+
},
1609+
proxmoxHostTop99PSum: {
1610+
baseName: "proxmox_host_top99p_sum",
1611+
type: "number",
1612+
format: "int64",
1613+
},
15781614
publishedAppHwmSum: {
15791615
baseName: "published_app_hwm_sum",
15801616
type: "number",

0 commit comments

Comments
 (0)