Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUM-1844: Add device and os info to telemetry events #200

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions lib/cjs/generated/telemetry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,5 +474,44 @@ export interface CommonTelemetryProperties {
* Enabled experimental features
*/
readonly experimental_features?: string[];
telemetry?: {
/**
* Device properties
*/
device?: {
/**
* Architecture of the device
*/
architecture?: string;
/**
* Brand of the device
*/
brand?: string;
/**
* Model of the device
*/
model?: string;
[k: string]: unknown;
};
/**
* OS properties
*/
os?: {
/**
* Build of the OS
*/
build?: string;
/**
* Name of the OS
*/
name?: string;
/**
* Version of the OS
*/
version?: string;
[k: string]: unknown;
};
[k: string]: unknown;
};
[k: string]: unknown;
}
39 changes: 39 additions & 0 deletions lib/esm/generated/telemetry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,5 +474,44 @@ export interface CommonTelemetryProperties {
* Enabled experimental features
*/
readonly experimental_features?: string[];
telemetry?: {
/**
* Device properties
*/
device?: {
/**
* Architecture of the device
*/
architecture?: string;
/**
* Brand of the device
*/
brand?: string;
/**
* Model of the device
*/
model?: string;
[k: string]: unknown;
};
/**
* OS properties
*/
os?: {
/**
* Build of the OS
*/
build?: string;
/**
* Name of the OS
*/
name?: string;
/**
* Version of the OS
*/
version?: string;
[k: string]: unknown;
};
[k: string]: unknown;
};
[k: string]: unknown;
}
42 changes: 42 additions & 0 deletions schemas/telemetry/_common-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,48 @@
"type": "string"
},
"readOnly": true
},
"telemetry": {
"type": "object",
"additionalProperties": true,
jonathanmos marked this conversation as resolved.
Show resolved Hide resolved
"properties": {
"device": {
"type": "object",
"description": "Device properties",
"properties": {
"architecture": {
"type": "string",
"description": "Architecture of the device"
},
"brand": {
"type": "string",
"description": "Brand of the device"
},
"model": {
"type": "string",
"description": "Model of the device"
}
}
},
"os": {
"type": "object",
"description": "OS properties",
"properties": {
"build": {
"type": "string",
"description": "Build of the OS"
},
"name": {
"type": "string",
"description": "Name of the OS"
},
"version": {
"type": "string",
"description": "Version of the OS"
}
}
}
}
}
}
}
Loading