PSA: New (mozilla-only) WebExtension API for Telemetry

Georg Fritzsche gfritzsche at
Tue Aug 28 15:14:57 UTC 2018

While we have various Telemetry APIs for different use-cases, we did not
have one for Mozillas own WebExtensions. As such, there was no great way to
add Telemetry to them.
As of Firefox 63, there is now a WebExtension API for Telemetry
available to Mozilla WebExtensions only through *browser.telemetry*. Cheers
go to Jared Hirsch, who made this happen

This makes a big part of the existing Telemetry API
available, specifically:
- recording & registering scalars
- recording & registering events
- submitting custom pings

This extends our Firefox Telemetry APIs to now be available to:
- Privileged Firefox JavaScript through nsITelemetry
plus submitting custom pings
- C++ code through Telemetry.h
- WebExtensions through browser.telemetry
- Specific in-product Mozilla websites through Hybrid Content Telemetry

As always, please do reach out if you have any questions or concerns. You
can find us in #telemetry on IRC, #fx-metrics on Slack and the fx-data-dev
<> mailing list.

Your Firefox Telemetry Team
(:gfritzsche, :Dexter, :chutten, :janerik)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the firefox-dev mailing list