Skip to content

Commit 32918d9

Browse files
RUM-12199: Device Capabilities Attributes Refactoring (#337)
* Renamed 'processor_count' to 'logical_cpu_count' and improved description * Renamed 'is_low_ram_device' to 'is_low_ram' * Re-generated schemas
1 parent bc42a89 commit 32918d9

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

lib/cjs/generated/rum.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,17 +1625,17 @@ export interface CommonProperties {
16251625
*/
16261626
readonly brightness_level?: number;
16271627
/**
1628-
* Number of device processors
1628+
* Number of logical CPU cores available for scheduling on the device at runtime, as reported by the operating system.
16291629
*/
1630-
readonly processor_count?: number;
1630+
readonly logical_cpu_count?: number;
16311631
/**
16321632
* Total RAM in megabytes
16331633
*/
16341634
readonly total_ram?: number;
16351635
/**
16361636
* Whether the device is considered a low RAM device (Android)
16371637
*/
1638-
readonly is_low_ram_device?: boolean;
1638+
readonly is_low_ram?: boolean;
16391639
[k: string]: unknown;
16401640
};
16411641
/**

lib/cjs/generated/telemetry.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,17 +600,17 @@ export interface CommonTelemetryProperties {
600600
*/
601601
model?: string;
602602
/**
603-
* Number of device processors
603+
* Number of logical CPU cores available for scheduling on the device at runtime, as reported by the operating system.
604604
*/
605-
readonly processor_count?: number;
605+
readonly logical_cpu_count?: number;
606606
/**
607607
* Total RAM in megabytes
608608
*/
609609
readonly total_ram?: number;
610610
/**
611611
* Whether the device is considered a low RAM device (Android)
612612
*/
613-
readonly is_low_ram_device?: boolean;
613+
readonly is_low_ram?: boolean;
614614
[k: string]: unknown;
615615
};
616616
/**

lib/esm/generated/rum.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,17 +1625,17 @@ export interface CommonProperties {
16251625
*/
16261626
readonly brightness_level?: number;
16271627
/**
1628-
* Number of device processors
1628+
* Number of logical CPU cores available for scheduling on the device at runtime, as reported by the operating system.
16291629
*/
1630-
readonly processor_count?: number;
1630+
readonly logical_cpu_count?: number;
16311631
/**
16321632
* Total RAM in megabytes
16331633
*/
16341634
readonly total_ram?: number;
16351635
/**
16361636
* Whether the device is considered a low RAM device (Android)
16371637
*/
1638-
readonly is_low_ram_device?: boolean;
1638+
readonly is_low_ram?: boolean;
16391639
[k: string]: unknown;
16401640
};
16411641
/**

lib/esm/generated/telemetry.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,17 +600,17 @@ export interface CommonTelemetryProperties {
600600
*/
601601
model?: string;
602602
/**
603-
* Number of device processors
603+
* Number of logical CPU cores available for scheduling on the device at runtime, as reported by the operating system.
604604
*/
605-
readonly processor_count?: number;
605+
readonly logical_cpu_count?: number;
606606
/**
607607
* Total RAM in megabytes
608608
*/
609609
readonly total_ram?: number;
610610
/**
611611
* Whether the device is considered a low RAM device (Android)
612612
*/
613-
readonly is_low_ram_device?: boolean;
613+
readonly is_low_ram?: boolean;
614614
[k: string]: unknown;
615615
};
616616
/**

schemas/rum/_common-schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,17 +356,17 @@
356356
"description": "Current screen brightness level (0.0 to 1.0).",
357357
"readOnly": true
358358
},
359-
"processor_count": {
359+
"logical_cpu_count": {
360360
"type": "number",
361-
"description": "Number of device processors",
361+
"description": "Number of logical CPU cores available for scheduling on the device at runtime, as reported by the operating system.",
362362
"readOnly": true
363363
},
364364
"total_ram": {
365365
"type": "number",
366366
"description": "Total RAM in megabytes",
367367
"readOnly": true
368368
},
369-
"is_low_ram_device": {
369+
"is_low_ram": {
370370
"type": "boolean",
371371
"description": "Whether the device is considered a low RAM device (Android)",
372372
"readOnly": true

schemas/telemetry/_common-schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,17 +127,17 @@
127127
"type": "string",
128128
"description": "Model of the device"
129129
},
130-
"processor_count": {
130+
"logical_cpu_count": {
131131
"type": "number",
132-
"description": "Number of device processors",
132+
"description": "Number of logical CPU cores available for scheduling on the device at runtime, as reported by the operating system.",
133133
"readOnly": true
134134
},
135135
"total_ram": {
136136
"type": "number",
137137
"description": "Total RAM in megabytes",
138138
"readOnly": true
139139
},
140-
"is_low_ram_device": {
140+
"is_low_ram": {
141141
"type": "boolean",
142142
"description": "Whether the device is considered a low RAM device (Android)",
143143
"readOnly": true

0 commit comments

Comments
 (0)