Skip to content

Commit c50cf90

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add estimated rum sessions usage types to UA enums (#950)
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 8db36db commit c50cf90

9 files changed

+100
-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": "2022-12-23 14:08:47.699509",
8-
"spec_repo_commit": "c3b2f174"
7+
"regenerated": "2022-12-23 16:48:49.357745",
8+
"spec_repo_commit": "1e3acf42"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-12-23 14:08:47.710975",
13-
"spec_repo_commit": "c3b2f174"
12+
"regenerated": "2022-12-23 16:48:49.371587",
13+
"spec_repo_commit": "1e3acf42"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3669,6 +3669,7 @@ components:
36693669
- profiled_container_usage
36703670
- profiled_host_usage
36713671
- snmp_usage
3672+
- estimated_rum_sessions_usage
36723673
type: string
36733674
x-enum-varnames:
36743675
- API_USAGE
@@ -3698,6 +3699,7 @@ components:
36983699
- PROFILED_CONTAINER_USAGE
36993700
- PROFILED_HOST_USAGE
37003701
- SNMP_USAGE
3702+
- ESTIMATED_RUM_SESSIONS_USAGE
37013703
IFrameWidgetDefinition:
37023704
description: The iframe widget allows you to embed a portion of any other web
37033705
page on your dashboard. Only available on FREE layout dashboards.
@@ -7024,6 +7026,8 @@ components:
70247026
- profiled_host_percentage
70257027
- snmp_usage
70267028
- snmp_percentage
7029+
- estimated_rum_sessions_usage
7030+
- estimated_rum_sessions_percentage
70277031
- '*'
70287032
type: string
70297033
x-enum-varnames:
@@ -7081,6 +7085,8 @@ components:
70817085
- PROFILED_HOST_PERCENTAGE
70827086
- SNMP_USAGE
70837087
- SNMP_PERCENTAGE
7088+
- ESTIMATED_RUM_SESSIONS_USAGE
7089+
- ESTIMATED_RUM_SESSIONS_PERCENTAGE
70847090
- ALL
70857091
MonthlyUsageAttributionValues:
70867092
description: Fields in Usage Summary by tag(s).
@@ -7241,6 +7247,16 @@ components:
72417247
in private beta.
72427248
format: double
72437249
type: number
7250+
estimated_rum_sessions_percentage:
7251+
description: The percentage of estimated rum sessions usage by tag(s). This
7252+
field is in private beta.
7253+
format: double
7254+
type: number
7255+
estimated_rum_sessions_usage:
7256+
description: The estimated rum sessions usage by tag(s). This field is in
7257+
private beta.
7258+
format: double
7259+
type: number
72447260
fargate_percentage:
72457261
description: The percentage of Fargate usage by tags.
72467262
format: double
@@ -14508,6 +14524,8 @@ components:
1450814524
- apm_fargate_percentage
1450914525
- appsec_fargate_usage
1451014526
- appsec_fargate_percentage
14527+
- estimated_rum_usage_attribution_usage
14528+
- estimated_rum_usage_attribution_percentage
1451114529
type: string
1451214530
x-enum-varnames:
1451314531
- API_PERCENTAGE
@@ -14544,6 +14562,8 @@ components:
1454414562
- APM_FARGATE_PERCENTAGE
1454514563
- APPSEC_FARGATE_USAGE
1454614564
- APPSEC_FARGATE_PERCENTAGE
14565+
- ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
14566+
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
1454714567
UsageAttributionSupportedMetrics:
1454814568
description: Supported fields for usage attribution requests (valid requests
1454914569
contain one or more metrics, or `*` for all).
@@ -14592,6 +14612,8 @@ components:
1459214612
- apm_fargate_percentage
1459314613
- appsec_fargate_usage
1459414614
- appsec_fargate_percentage
14615+
- estimated_rum_usage_attribution_usage
14616+
- estimated_rum_usage_attribution_percentage
1459514617
- '*'
1459614618
type: string
1459714619
x-enum-varnames:
@@ -14639,6 +14661,8 @@ components:
1463914661
- APM_FARGATE_PERCENTAGE
1464014662
- APPSEC_FARGATE_USAGE
1464114663
- APPSEC_FARGATE_PERCENTAGE
14664+
- ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
14665+
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
1464214666
- ALL
1464314667
UsageAttributionTagNames:
1464414668
additionalProperties:
@@ -14830,6 +14854,16 @@ components:
1483014854
is in private beta.
1483114855
format: double
1483214856
type: number
14857+
estimated_rum_sessions_percentage:
14858+
description: The percentage of estimated rum sessions usage by tag(s). This
14859+
field is in private beta.
14860+
format: double
14861+
type: number
14862+
estimated_rum_sessions_usage:
14863+
description: The estimated rum sessions usage by tag(s). This field is in
14864+
private beta.
14865+
format: double
14866+
type: number
1483314867
infra_host_percentage:
1483414868
description: The percentage of infrastructure host usage by tag(s).
1483514869
format: double

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export type HourlyUsageAttributionUsageType =
3838
| typeof PROFILED_CONTAINER_USAGE
3939
| typeof PROFILED_HOST_USAGE
4040
| typeof SNMP_USAGE
41+
| typeof ESTIMATED_RUM_SESSIONS_USAGE
4142
| UnparsedObject;
4243
export const API_USAGE = "api_usage";
4344
export const APM_FARGATE_USAGE = "apm_fargate_usage";
@@ -66,3 +67,4 @@ export const NPM_HOST_USAGE = "npm_host_usage";
6667
export const PROFILED_CONTAINER_USAGE = "profiled_container_usage";
6768
export const PROFILED_HOST_USAGE = "profiled_host_usage";
6869
export const SNMP_USAGE = "snmp_usage";
70+
export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
6565
| typeof PROFILED_HOST_PERCENTAGE
6666
| typeof SNMP_USAGE
6767
| typeof SNMP_PERCENTAGE
68+
| typeof ESTIMATED_RUM_SESSIONS_USAGE
69+
| typeof ESTIMATED_RUM_SESSIONS_PERCENTAGE
6870
| typeof ALL
6971
| UnparsedObject;
7072
export const API_USAGE = "api_usage";
@@ -125,4 +127,7 @@ export const PROFILED_HOST_USAGE = "profiled_host_usage";
125127
export const PROFILED_HOST_PERCENTAGE = "profiled_host_percentage";
126128
export const SNMP_USAGE = "snmp_usage";
127129
export const SNMP_PERCENTAGE = "snmp_percentage";
130+
export const ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage";
131+
export const ESTIMATED_RUM_SESSIONS_PERCENTAGE =
132+
"estimated_rum_sessions_percentage";
128133
export const ALL = "*";

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@ export class MonthlyUsageAttributionValues {
154154
* The estimated ingested spans usage by tag(s). This field is in private beta.
155155
*/
156156
"estimatedIngestedSpansUsage"?: number;
157+
/**
158+
* The percentage of estimated rum sessions usage by tag(s). This field is in private beta.
159+
*/
160+
"estimatedRumSessionsPercentage"?: number;
161+
/**
162+
* The estimated rum sessions usage by tag(s). This field is in private beta.
163+
*/
164+
"estimatedRumSessionsUsage"?: number;
157165
/**
158166
* The percentage of Fargate usage by tags.
159167
*/
@@ -416,6 +424,16 @@ export class MonthlyUsageAttributionValues {
416424
type: "number",
417425
format: "double",
418426
},
427+
estimatedRumSessionsPercentage: {
428+
baseName: "estimated_rum_sessions_percentage",
429+
type: "number",
430+
format: "double",
431+
},
432+
estimatedRumSessionsUsage: {
433+
baseName: "estimated_rum_sessions_usage",
434+
type: "number",
435+
format: "double",
436+
},
419437
fargatePercentage: {
420438
baseName: "fargate_percentage",
421439
type: "number",

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@ const enumsMap: { [key: string]: any[] } = {
706706
"profiled_container_usage",
707707
"profiled_host_usage",
708708
"snmp_usage",
709+
"estimated_rum_sessions_usage",
709710
],
710711
IFrameWidgetDefinitionType: ["iframe"],
711712
ImageWidgetDefinitionType: ["image"],
@@ -855,6 +856,8 @@ const enumsMap: { [key: string]: any[] } = {
855856
"profiled_host_percentage",
856857
"snmp_usage",
857858
"snmp_percentage",
859+
"estimated_rum_sessions_usage",
860+
"estimated_rum_sessions_percentage",
858861
"*",
859862
],
860863
NoteWidgetDefinitionType: ["note"],
@@ -1175,6 +1178,8 @@ const enumsMap: { [key: string]: any[] } = {
11751178
"apm_fargate_percentage",
11761179
"appsec_fargate_usage",
11771180
"appsec_fargate_percentage",
1181+
"estimated_rum_usage_attribution_usage",
1182+
"estimated_rum_usage_attribution_percentage",
11781183
],
11791184
UsageAttributionSupportedMetrics: [
11801185
"custom_timeseries_usage",
@@ -1221,6 +1226,8 @@ const enumsMap: { [key: string]: any[] } = {
12211226
"apm_fargate_percentage",
12221227
"appsec_fargate_usage",
12231228
"appsec_fargate_percentage",
1229+
"estimated_rum_usage_attribution_usage",
1230+
"estimated_rum_usage_attribution_percentage",
12241231
"*",
12251232
],
12261233
UsageMetricCategory: ["standard", "custom"],

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export type UsageAttributionSort =
4545
| typeof APM_FARGATE_PERCENTAGE
4646
| typeof APPSEC_FARGATE_USAGE
4747
| typeof APPSEC_FARGATE_PERCENTAGE
48+
| typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
49+
| typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
4850
| UnparsedObject;
4951
export const API_PERCENTAGE = "api_percentage";
5052
export const SNMP_USAGE = "snmp_usage";
@@ -84,3 +86,7 @@ export const APM_FARGATE_USAGE = "apm_fargate_usage";
8486
export const APM_FARGATE_PERCENTAGE = "apm_fargate_percentage";
8587
export const APPSEC_FARGATE_USAGE = "appsec_fargate_usage";
8688
export const APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage";
89+
export const ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE =
90+
"estimated_rum_usage_attribution_usage";
91+
export const ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE =
92+
"estimated_rum_usage_attribution_percentage";

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ export type UsageAttributionSupportedMetrics =
5555
| typeof APM_FARGATE_PERCENTAGE
5656
| typeof APPSEC_FARGATE_USAGE
5757
| typeof APPSEC_FARGATE_PERCENTAGE
58+
| typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
59+
| typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
5860
| typeof ALL
5961
| UnparsedObject;
6062
export const CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage";
@@ -105,4 +107,8 @@ export const APM_FARGATE_USAGE = "apm_fargate_usage";
105107
export const APM_FARGATE_PERCENTAGE = "apm_fargate_percentage";
106108
export const APPSEC_FARGATE_USAGE = "appsec_fargate_usage";
107109
export const APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage";
110+
export const ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE =
111+
"estimated_rum_usage_attribution_usage";
112+
export const ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE =
113+
"estimated_rum_usage_attribution_percentage";
108114
export const ALL = "*";

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@ export class UsageAttributionValues {
154154
* The estimated ingested spans usage by tag(s). Note this field is in private beta.
155155
*/
156156
"estimatedIngestedSpansUsage"?: number;
157+
/**
158+
* The percentage of estimated rum sessions usage by tag(s). This field is in private beta.
159+
*/
160+
"estimatedRumSessionsPercentage"?: number;
161+
/**
162+
* The estimated rum sessions usage by tag(s). This field is in private beta.
163+
*/
164+
"estimatedRumSessionsUsage"?: number;
157165
/**
158166
* The percentage of infrastructure host usage by tag(s).
159167
*/
@@ -400,6 +408,16 @@ export class UsageAttributionValues {
400408
type: "number",
401409
format: "double",
402410
},
411+
estimatedRumSessionsPercentage: {
412+
baseName: "estimated_rum_sessions_percentage",
413+
type: "number",
414+
format: "double",
415+
},
416+
estimatedRumSessionsUsage: {
417+
baseName: "estimated_rum_sessions_usage",
418+
type: "number",
419+
format: "double",
420+
},
403421
infraHostPercentage: {
404422
baseName: "infra_host_percentage",
405423
type: "number",

0 commit comments

Comments
 (0)