The default bug view has changed. See this FAQ.

Report only probes defined in TelemetryHistograms.h

RESOLVED FIXED in mozilla7

Status

()

Toolkit
Telemetry
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: (dormant account), Unassigned)

Tracking

({dev-doc-complete})

unspecified
mozilla7
x86
Linux
dev-doc-complete
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [inbound])

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Created attachment 542908 [details] [diff] [review]
Do not report dynamic histograms

This patch adds a .static property to histograms to block histograms created with nsITelemetry::newHistogram from being reported to the metrics server. newHistogram is mainly useful for testing at the moment. This will prevent addons from reporting new histograms via telemetry.

I would like to eventually support telemetry in addons and give addon authors access to the aggregated data, but we aren't ready for that in Firefox 7.
Attachment #542908 - Flags: review?(dtownsend)
Comment on attachment 542908 [details] [diff] [review]
Do not report dynamic histograms

Review of attachment 542908 [details] [diff] [review]:
-----------------------------------------------------------------

::: toolkit/components/telemetry/nsITelemetry.idl
@@ +38,4 @@
>  
>  #include "nsISupports.idl"
>  
> +[scriptable, uuid(7c3d748c-5a70-4cc8-98f2-f4a915e5499c)]

No need to change the IID here.
Attachment #542908 - Flags: review?(dtownsend) → review+
(Reporter)

Comment 2

6 years ago
Need to document that telemetry histograms defined with nsITelemetry::newHistogram will not be reported in the telemetry ping.

http://hg.mozilla.org/integration/mozilla-inbound/rev/86518f461037
Keywords: dev-doc-needed
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/86518f461037
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla7

Updated

6 years ago
Keywords: dev-doc-needed → dev-doc-complete
You need to log in before you can comment on or make changes to this bug.