Collecting New Data
Guidelines
For information about what sorts of data may be collected, and for information on getting a data collection request reviewed, please read the Data Collection Guidelines.
Mechanics
Glean is the standard telemetry platform required for all new Mozilla products. See Adding Glean to your project for the mechanics of instrumenting new data collection with Glean.
Legacy Telemetry APIs are deprecated for new instrumentation; for background on the legacy mechanism, see Adding a new Telemetry probe (deprecated).
For non-Telemetry data collection, we have a mechanism for streamlining ingestion of structured (JSON) data that utilizes the same underlying infrastructure. See this cookbook for details on using it.