Skip to content

Commit 442e2cf

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add universal service monitoring to usage metering API (#1079)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 73d1f1a commit 442e2cf

9 files changed

+90
-4
lines changed

Diff for: .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": "2023-04-03 12:03:46.746831",
8-
"spec_repo_commit": "1cb4b144"
7+
"regenerated": "2023-04-04 17:50:45.139860",
8+
"spec_repo_commit": "9a7b22d0"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-04-03 12:03:46.759045",
13-
"spec_repo_commit": "1cb4b144"
12+
"regenerated": "2023-04-04 17:50:45.153278",
13+
"spec_repo_commit": "9a7b22d0"
1414
}
1515
}
1616
}

Diff for: .generator/schemas/v1/openapi.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -3683,6 +3683,7 @@ components:
36833683
- profiled_host_usage
36843684
- snmp_usage
36853685
- estimated_rum_sessions_usage
3686+
- universal_service_monitoring_usage
36863687
type: string
36873688
x-enum-varnames:
36883689
- API_USAGE
@@ -3715,6 +3716,7 @@ components:
37153716
- PROFILED_HOST_USAGE
37163717
- SNMP_USAGE
37173718
- ESTIMATED_RUM_SESSIONS_USAGE
3719+
- UNIVERSAL_SERVICE_MONITORING_USAGE
37183720
IFrameWidgetDefinition:
37193721
description: The iframe widget allows you to embed a portion of any other web
37203722
page on your dashboard. Only available on FREE layout dashboards.
@@ -7171,6 +7173,8 @@ components:
71717173
- snmp_percentage
71727174
- estimated_rum_sessions_usage
71737175
- estimated_rum_sessions_percentage
7176+
- universal_service_monitoring_usage
7177+
- universal_service_monitoring_percentage
71747178
- '*'
71757179
type: string
71767180
x-enum-varnames:
@@ -7234,6 +7238,8 @@ components:
72347238
- SNMP_PERCENTAGE
72357239
- ESTIMATED_RUM_SESSIONS_USAGE
72367240
- ESTIMATED_RUM_SESSIONS_PERCENTAGE
7241+
- UNIVERSAL_SERVICE_MONITORING_USAGE
7242+
- UNIVERSAL_SERVICE_MONITORING_PERCENTAGE
72377243
- ALL
72387244
MonthlyUsageAttributionValues:
72397245
description: Fields in Usage Summary by tag(s).
@@ -7483,6 +7489,14 @@ components:
74837489
description: The network device usage by tag(s).
74847490
format: double
74857491
type: number
7492+
universal_service_monitoring_percentage:
7493+
description: The percentage of universal service monitoring usage by tag(s).
7494+
format: double
7495+
type: number
7496+
universal_service_monitoring_usage:
7497+
description: The universal service monitoring usage by tag(s).
7498+
format: double
7499+
type: number
74867500
type: object
74877501
NoteWidgetDefinition:
74887502
description: The notes and links widget is similar to free text widget, but
@@ -17087,6 +17101,11 @@ components:
1708717101
in the current date for all organizations.
1708817102
format: int64
1708917103
type: integer
17104+
universal_service_monitoring_host_top99p:
17105+
description: Shows the 99th percentile of all universal service management
17106+
hosts over all hours in the current date for the given org.
17107+
format: int64
17108+
type: integer
1709017109
vsphere_host_top99p:
1709117110
description: Shows the 99th percentile of all vSphere hosts over all hours
1709217111
in the current date for all organizations.
@@ -17481,6 +17500,11 @@ components:
1748117500
in the current date for the given org.
1748217501
format: int64
1748317502
type: integer
17503+
universal_service_monitoring_host_top99p:
17504+
description: Shows the 99th percentile of all Universal Service Monitoring
17505+
hosts over all hours in the current date for the given org.
17506+
format: int64
17507+
type: integer
1748417508
vsphere_host_top99p:
1748517509
description: Shows the 99th percentile of all vSphere hosts over all hours
1748617510
in the current date for the given org.
@@ -17916,6 +17940,11 @@ components:
1791617940
in the current months for all organizations.
1791717941
format: int64
1791817942
type: integer
17943+
universal_service_monitoring_host_top99p_sum:
17944+
description: Shows the 99th percentile of all Universal Service Monitoring
17945+
hosts over all hours in the current months for all organizations.
17946+
format: int64
17947+
type: integer
1791917948
usage:
1792017949
description: An array of objects regarding hourly usage.
1792117950
items:

Diff for: packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export type HourlyUsageAttributionUsageType =
4141
| typeof PROFILED_HOST_USAGE
4242
| typeof SNMP_USAGE
4343
| typeof ESTIMATED_RUM_SESSIONS_USAGE
44+
| typeof UNIVERSAL_SERVICE_MONITORING_USAGE
4445
| UnparsedObject;
4546
export const API_USAGE = "api_usage";
4647
export const APM_FARGATE_USAGE = "apm_fargate_usage";
@@ -73,3 +74,5 @@ export const PROFILED_FARGATE_USAGE = "profiled_fargate_usage";
7374
export const PROFILED_HOST_USAGE = "profiled_host_usage";
7475
export const SNMP_USAGE = "snmp_usage";
7576
export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";
77+
export const UNIVERSAL_SERVICE_MONITORING_USAGE =
78+
"universal_service_monitoring_usage";

Diff for: packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts

+6
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
7171
| typeof SNMP_PERCENTAGE
7272
| typeof ESTIMATED_RUM_SESSIONS_USAGE
7373
| typeof ESTIMATED_RUM_SESSIONS_PERCENTAGE
74+
| typeof UNIVERSAL_SERVICE_MONITORING_USAGE
75+
| typeof UNIVERSAL_SERVICE_MONITORING_PERCENTAGE
7476
| typeof ALL
7577
| UnparsedObject;
7678
export const API_USAGE = "api_usage";
@@ -141,4 +143,8 @@ export const SNMP_PERCENTAGE = "snmp_percentage";
141143
export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";
142144
export const ESTIMATED_RUM_SESSIONS_PERCENTAGE =
143145
"estimated_rum_sessions_percentage";
146+
export const UNIVERSAL_SERVICE_MONITORING_USAGE =
147+
"universal_service_monitoring_usage";
148+
export const UNIVERSAL_SERVICE_MONITORING_PERCENTAGE =
149+
"universal_service_monitoring_percentage";
144150
export const ALL = "*";

Diff for: packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts

+18
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,14 @@ export class MonthlyUsageAttributionValues {
250250
* The network device usage by tag(s).
251251
*/
252252
"snmpUsage"?: number;
253+
/**
254+
* The percentage of universal service monitoring usage by tag(s).
255+
*/
256+
"universalServiceMonitoringPercentage"?: number;
257+
/**
258+
* The universal service monitoring usage by tag(s).
259+
*/
260+
"universalServiceMonitoringUsage"?: number;
253261

254262
/**
255263
* @ignore
@@ -560,6 +568,16 @@ export class MonthlyUsageAttributionValues {
560568
type: "number",
561569
format: "double",
562570
},
571+
universalServiceMonitoringPercentage: {
572+
baseName: "universal_service_monitoring_percentage",
573+
type: "number",
574+
format: "double",
575+
},
576+
universalServiceMonitoringUsage: {
577+
baseName: "universal_service_monitoring_usage",
578+
type: "number",
579+
format: "double",
580+
},
563581
};
564582

565583
/**

Diff for: packages/datadog-api-client-v1/models/ObjectSerializer.ts

+3
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ const enumsMap: { [key: string]: any[] } = {
720720
"profiled_host_usage",
721721
"snmp_usage",
722722
"estimated_rum_sessions_usage",
723+
"universal_service_monitoring_usage",
723724
],
724725
IFrameWidgetDefinitionType: ["iframe"],
725726
ImageWidgetDefinitionType: ["image"],
@@ -903,6 +904,8 @@ const enumsMap: { [key: string]: any[] } = {
903904
"snmp_percentage",
904905
"estimated_rum_sessions_usage",
905906
"estimated_rum_sessions_percentage",
907+
"universal_service_monitoring_usage",
908+
"universal_service_monitoring_percentage",
906909
"*",
907910
],
908911
NoteWidgetDefinitionType: ["note"],

Diff for: packages/datadog-api-client-v1/models/UsageSummaryDate.ts

+9
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,10 @@ export class UsageSummaryDate {
315315
* Shows the sum of all ingested APM span bytes over all hours in the current date for all organizations.
316316
*/
317317
"twolIngestedEventsBytesSum"?: number;
318+
/**
319+
* Shows the 99th percentile of all universal service management hosts over all hours in the current date for the given org.
320+
*/
321+
"universalServiceMonitoringHostTop99p"?: number;
318322
/**
319323
* Shows the 99th percentile of all vSphere hosts over all hours in the current date for all organizations.
320324
*/
@@ -708,6 +712,11 @@ export class UsageSummaryDate {
708712
type: "number",
709713
format: "int64",
710714
},
715+
universalServiceMonitoringHostTop99p: {
716+
baseName: "universal_service_monitoring_host_top99p",
717+
type: "number",
718+
format: "int64",
719+
},
711720
vsphereHostTop99p: {
712721
baseName: "vsphere_host_top99p",
713722
type: "number",

Diff for: packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts

+9
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ export class UsageSummaryDateOrg {
322322
* Shows the sum of all ingested APM span bytes over all hours in the current date for the given org.
323323
*/
324324
"twolIngestedEventsBytesSum"?: number;
325+
/**
326+
* Shows the 99th percentile of all Universal Service Monitoring hosts over all hours in the current date for the given org.
327+
*/
328+
"universalServiceMonitoringHostTop99p"?: number;
325329
/**
326330
* Shows the 99th percentile of all vSphere hosts over all hours in the current date for the given org.
327331
*/
@@ -722,6 +726,11 @@ export class UsageSummaryDateOrg {
722726
type: "number",
723727
format: "int64",
724728
},
729+
universalServiceMonitoringHostTop99p: {
730+
baseName: "universal_service_monitoring_host_top99p",
731+
type: "number",
732+
format: "int64",
733+
},
725734
vsphereHostTop99p: {
726735
baseName: "vsphere_host_top99p",
727736
type: "number",

Diff for: packages/datadog-api-client-v1/models/UsageSummaryResponse.ts

+9
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,10 @@ export class UsageSummaryResponse {
348348
* Shows the sum of all ingested APM span bytes over all hours in the current months for all organizations.
349349
*/
350350
"twolIngestedEventsBytesAggSum"?: number;
351+
/**
352+
* Shows the 99th percentile of all Universal Service Monitoring hosts over all hours in the current months for all organizations.
353+
*/
354+
"universalServiceMonitoringHostTop99pSum"?: number;
351355
/**
352356
* An array of objects regarding hourly usage.
353357
*/
@@ -785,6 +789,11 @@ export class UsageSummaryResponse {
785789
type: "number",
786790
format: "int64",
787791
},
792+
universalServiceMonitoringHostTop99pSum: {
793+
baseName: "universal_service_monitoring_host_top99p_sum",
794+
type: "number",
795+
format: "int64",
796+
},
788797
usage: {
789798
baseName: "usage",
790799
type: "Array<UsageSummaryDate>",

0 commit comments

Comments
 (0)