Drive-by fixes to annyoing warnings in `mach doc` for Telemetry docs.
Depends on D17231
Differential Revision: https://phabricator.services.mozilla.com/D17232
--HG--
extra : moz-landing-system : lando
Update documentation to reflect that dynamic events are no longer sent in 'main' pings.
Differential Revision: https://phabricator.services.mozilla.com/D7907
--HG--
extra : moz-landing-system : lando
This patch enables Hybrid Content Telemetry's |initPromise| to reject
if it is disabled or if the host requesting the API doesn't have
enough privileges. This also updates the documentation to mention
the change in behaviour.
Differential Revision: https://phabricator.services.mozilla.com/D5849
--HG--
extra : moz-landing-system : lando
`cpp_guard` was only used for operating system checks.
We can check this value in our Python build scripts and exclude histograms that shouldn't be included for the target OS.
Differential Revision: https://phabricator.services.mozilla.com/D2927
--HG--
extra : moz-landing-system : lando
The HCT content library needs the chrome to broadcast the value of the
Telemetry state before it can report a reliable value. This patch adds
a way to wait for the broadcast to happen and singnal that it's ok
to read the value from canUpload.
Differential Revision: https://phabricator.services.mozilla.com/D2030
--HG--
extra : moz-landing-system : lando
The "products" property is optional and defaults to `firefox, fennec`.
Recording of histograms is disabled if the probe doesn't have the products
property for the current running product.
MozReview-Commit-ID: 3puMXbuicuC
--HG--
extra : rebase_source : 88ac15168ea04b0ec20b9c8d813b4629334d4f72
The "products" property is optional and defaults to `firefox, fennec`.
Recording of events is disabled if the probe doesn't have the products
property for the current running product.
MozReview-Commit-ID: EqTHq9duNT
--HG--
extra : rebase_source : 89b9f4200db588aec462bc81f8116e44a37a0460
The "products" property is optional and defaults to `firefox, fennec`.
Recording of scalars is disabled if the probe doesn't have the products
property for the current running product.
MozReview-Commit-ID: 4HVBrBw1lls
--HG--
extra : rebase_source : 5820a8bc8a9397db4ed728354cbb10984bb04946
According to the documnetation[1] category and method are identifiers,
thus an underscore is allowed. It's less clear for extra keys, but
underscores are already used there.
The documentation is adjusted accordingly.
[1]: https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/collection/events.html#limits
MozReview-Commit-ID: 9pUsDNXCY8m
--HG--
extra : rebase_source : 5f3a3f1a9d8172cfb9695c17bd04e11836a65c93
This allows us to store Telemetry Event category (30), method (20),
object (20), and two delimiters (2) in a single key, like so:
oohwowlookthiscategoryissolong#thismethodislongtooo#thisobjectisnoslouch
MozReview-Commit-ID: BkoU1VAXFF9
--HG--
extra : rebase_source : b172e8dd8ee925f05545a944e340fb5a43c296b1
In order to stay consistent with the AutoTimer api, allowed non-templates uses or AutoCounter.
MozReview-Commit-ID: 9qnAeQTIY9T
--HG--
extra : rebase_source : 57ac472030945bf0434a4616037ac0963dd3bbd5
Moved the runtime Telemetry::AutoTimer implementation to the Telemetry public API.
MozReview-Commit-ID: KNT6toDQUtR
--HG--
extra : rebase_source : 4c55df7321570d49daa0aef7b916e4550b1f2ffd
Telemetry's AutoTimer Microsecond resolution was not used. I removed it with the TimerResolution enum, which allowed me to remove a couple of templates as well.
MozReview-Commit-ID: 76qHgmYEsE3
--HG--
extra : rebase_source : 1f5826f1be990d4814de15875cd0a726213712d4