mozilla / testpilot-metrics

Metrics broker library for Test Pilot experiments. Pings Google Analytics and Mozilla metrics servers
Mozilla Public License 2.0
3 stars 7 forks source link

Support shield addons #32

Open jaredhirsch opened 7 years ago

jaredhirsch commented 7 years ago

Requirements aren't firm here, but from discussion on IRC with @groovecoder, containers would like to submit a test pilot-style ping, but with an extra '-shield' tag somewhere.

For legacy bootstrapped extensions, we could just move the test pilot telemetry ping code over to this file.

I'm not sure shield supports pure webextensions yet, but in that case:

This would effectively shuffle all of the Test Pilot addon metrics code into this library. We could have the Test Pilot addon itself use this library. This might get us one big step closer to deleting the Test Pilot addon altogether. cc @lmorchard and @fzzzy for thoughts here

jaredhirsch commented 7 years ago

It occurs to me that, once the Telemetry API is available to webextensions, we wouldn't need the Test Pilot addon to submit pings at all.