- Experiment enrollment data
- Experiment search metrics data
- Derived dataset
- GCS data export
- Code reference
Experiment monitoring datasets are designed to power dashboards, such as Experiment Enrollment Grafana dashboard, for monitoring experiments in real time. Currently, datasets for monitoring the number or enrollments and number of searches performed by clients enrolled in experiments are available.
moz-fx-data-shared-prod.telemetry_derived.experiment_enrollment_aggregates_live_v1 provides enrollment, unenrollment, graduate, update and failure aggregates for experiments and branches over 5-minute intervals for Fenix and desktop experiments. This live view is also the basis of several derived views:
|Overall number of clients that unenrolled from experiments
|Number of events other than
unenroll sent by clients
|Cumulative number of clients enrolled in experiments
|Overall number of clients enrolled in experiments
|Number of daily active clients enrolled in experiments
moz-fx-data-shared-prod.telemetry_derived.experiment_search_aggregates_live_v1 provides aggregated search metrics of clients enrolled in Fenix and desktop experiments, such as the number of searches performed, the number of searches with ads and the number of ad clicks. This live view is also the basis of several derived views:
|Cumulative number of ad clicks by clients enrolled in experiments
|Cumulative number of searches by clients enrolled in experiments
|Cumulative number of searches with ads by clients enrolled in experiments
The derived views have the following schema:
|Timestamp when value was recorded
As an example of how these views can be used, the following query determines the number of cumulative clients enrolled
in a the
multi-stage-aboutwelcome-set-default-as-first-screen experiment to date in each branch of a study:
SUM(value) AS total_enrolled
WHERE experiment = 'multi-stage-aboutwelcome-set-default-as-first-screen'
GROUP BY 1
ORDER BY 2
As some dashboard solutions, such as the Experimenter console, might not have access to BigQuery, data from derived experiment monitoring views is also exported as JSON to
monitoring/ in the
mozanalysis bucket in
moz-fx-data-experiments. JSON files are named like:
<experiment_slug>_<monitoring_dataset_name>.json, for example:
A script for exporting this data is scheduled to run via Airflow every 5 minutes.
To keep the cost low for retrieving live monitoring data, BigQuery materialized views have been set up. These materialized views read delta changes from the base live tables to compute up-to-date results every 5 minutes.
As materialized views do not support
UNION ALL, separate materialized views are deployed for legacy desktop telemetry and every Fenix related dataset.
Materialized views for experiment enrollment events:
moz-fx-data-shared-prod.telemetry_derived.experiment_enrollment_aggregates_live_v1 view combines data of the past 2 days from all of the materialized views for experiment enrollments with data older than 2 days from
Materialized view for search metrics:
moz-fx-data-shared-prod.telemetry_derived.experiment_search_aggregates_live_v1 view combines data of the past 2 days from all of the materialized views for search metrics with data older than 2 days from