Patent 9774694 was granted and assigned to Facebook on September, 2017 by the United States Patent and Trademark Office.
The disclosure is related to a framework that enables server-side controlling of data sampling at client devices. An application executing on a client device samples data related to various aspects of the application, generates a log file containing the sample data and transmits the log file to the server. The application samples the data based on specified criteria, e.g., specified events, specified actions of a user of the client device, at a specified sampling rate. The framework enables controlling the sampling of such data from the server. The framework can be used to configure various parameters of the sampling, including a number of users to be sampled, a set of events to be sampled, a sampling rate for the events, etc. After the configuration is determined, the server transmits a configuration file to the client device, which performs the sampling based on the configuration in the configuration file.