Closed Bug 1349629 Opened 7 years ago Closed 7 years ago

Create in-tree docs for the telemetry experiment annotation API

Categories

(Toolkit :: Telemetry, enhancement, P1)

enhancement
Points:
1

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: Dexter, Assigned: Dexter)

References

Details

(Whiteboard: [measurement:client])

Attachments

(1 file)

Bug 1348748 adds a new API to annotate experiment data in the Telemetry Environment. The current documentation lives in the index page of the data collection docs [1]. We should create a new documentation page for it, with:

- the API documentation;
- usage example;
- any limit/constraint.

[1] - http://searchfox.org/mozilla-central/source/toolkit/components/telemetry/docs/collection/index.rst
Points: --- → 1
Depends on: 1348748
Priority: -- → P2
Whiteboard: [measurement:client]
Priority: P2 → P1
Assignee: nobody → alessio.placitelli
Comment on attachment 8857535 [details]
Bug 1349629 - Create in-tree docs for the telemetry experiment annotation API.

https://reviewboard.mozilla.org/r/129502/#review132044

::: toolkit/components/telemetry/docs/collection/experiments.rst:4
(Diff revision 1)
> +=====================
> +Experiment Annotation
> +=====================
> +This API allows to annotate the :doc:`../data/environment` with any experiment a client is partecipating in, in a standard way.

This API allows whom to annotate the environment?

Also, s/partecipating/participating/.

Also, omit "in a standard way"

Also, plural "experiments" to highlight that we support multiple concurrent experiments.

::: toolkit/components/telemetry/docs/collection/experiments.rst:6
(Diff revision 1)
> +=====================
> +Experiment Annotation
> +=====================
> +This API allows to annotate the :doc:`../data/environment` with any experiment a client is partecipating in, in a standard way.
> +
> +The experiment annotation are sent with any ping including the `environment` data.

s/annotation/annotations/

"sent with any ping that includes the `environment` data"

(do we want to relinkify environment?)

::: toolkit/components/telemetry/docs/collection/experiments.rst:24
(Diff revision 1)
> +
> +.. code-block:: js
> +
> +    TelemetryEnvironment.setExperimentInactive(id)
> +
> +This synchronously returns a dictionary containing the informations for each active experiment.

Singular "information"
Attachment #8857535 - Flags: review?(chutten) → review-
Comment on attachment 8857535 [details]
Bug 1349629 - Create in-tree docs for the telemetry experiment annotation API.

https://reviewboard.mozilla.org/r/129502/#review132580
Attachment #8857535 - Flags: review?(chutten) → review+
Pushed by alessio.placitelli@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/80f4a456ad1d
Create in-tree docs for the telemetry experiment annotation API. r=chutten
https://hg.mozilla.org/mozilla-central/rev/80f4a456ad1d
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: