Data source for telemetry experiments FHR payload
Gregory Szorc
gps at mozilla.com
Mon Mar 10 11:04:50 PDT 2014
On 3/10/14, 8:27 AM, Georg Fritzsche wrote:
> On 10 Mar 2014, at 15:50, Benjamin Smedberg <benjamin at smedbergs.us> wrote:
>> Note comment 3 where we also want to measure some details in telemetry. Do you want to do that in the same bug or put it in another bug?
>
> I would do it in the same bug.
> Looking at the telemetry payload comment specifically, i’m also wondering:
> * what exactly is presence referring to?
> * is going through nsITelemetry.newHistogram() sufficient to get string data in as well (enabled experiments and rejection reasons)?
Histograms can only record numerical values.
AFAICT you'll need to hack up
toolkit/components/telemetry/TelemetryPing.jsm to add the new data to
the Telemetry payload. Start at getPayload() and work from there.
(Telemetry isn't as easily extensible as FHR's data collection mechanism
in this regard. It's not as easy to inject non-histogram data into
Telemetry from add-ons as it is with FHR.)
More information about the fhr-dev
mailing list