Telemetry Library Dynamic Configuration via Regular Expressions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current applications and devices lack the ability to determine which telemetry information is useful at release time, leading to unnecessary data transmission and analysis by servers.
Innovation Solution
A method for dynamic configuration of telemetry data collection using a telemetry library within a client device, which initializes by contacting a configuration server with identifying information to retrieve regular expressions, generates signatures for data matching, and filters out unwanted data based on these expressions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If all telemetry data is transmitted to the server for analysis, then complete data is available for analysis, but network traffic and storage costs increase
Solution Approach 1:
The system performs preliminary filtering of telemetry data at the client device before transmission. A telemetry library captures data and uses regular expressions to pre-filter only the relevant information, so that only necessary data is transmitted to the server, reducing network traffic and storage requirements while maintaining analytical completeness.
Solution Approach 2:
The system extracts only the relevant telemetry data from the complete data set at the source. By using regular expressions to identify and extract specific patterns of interest, the system removes unnecessary data before transmission, thereby reducing network traffic and storage costs while preserving the essential information needed for analysis.
2Loss of energy
If telemetry library filters data before transmission, then network traffic is reduced, but device complexity increases
Solution Approach 1:
The system introduces a configuration server as an intermediary that manages the complexity of regular expression patterns. Instead of embedding complex filtering logic directly in the client device, the telemetry library downloads configurable regular expressions from the server, which then handles the data filtering. This distributes complexity to the server while keeping the client device relatively simple.
3Loss of information
If telemetry data is filtered at the server, then all data is collected, but analysis time increases
Solution Approach 1:
The system performs preliminary filtering of telemetry data at the client device before transmission. A telemetry library captures data and uses regular expressions to pre-filter only the relevant information, so that only necessary data is transmitted to the server, reducing network traffic and storage requirements while maintaining analytical completeness.
Data Source
AI summary
Provided are methods and systems for collecting telemetry data by a telemetry library within a client device. A system for the collection of telemetry data by a telemetry library within a client device may comprise a client device to initialize the telemetry library. The system may further comprise a processor to contact a configuration server with identifying information specific to the client device to retrieve configuration information. The system may then perform a search using the identifying information, return configuration regular expressions related to the identifying information to the telemetry library, and identify the telemetry data along with a namespace or a scope to which the telemetry data belongs, using a name generated by the telemetry library.


