Closed Bug 1498160 Opened 2 years ago Closed 2 years ago

Add new snapshot APIs

Categories

(Toolkit :: Telemetry, enhancement, P1)

enhancement
Points:
1

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: janerik, Assigned: janerik)

References

Details

Attachments

(1 file)

We are adding new, simplified snapshot APIs to support multiple stores.
In particular we need:

getSnapshotForScalars
getSnapshotForKeyedScalars
getSnapshotForHistograms
getSnapshotForKeyedHistograms

These need to be added to nsITelemetry.idl and implemented in C++.
In the first phase this should internally defer to the appropriate existing snapshot API.
The old API can be deprecated.
Depends on: 1498161
Blocks: 1498161
No longer depends on: 1498161
Blocks: 1498163
Points: --- → 1
Priority: -- → P1
Assignee: nobody → jrediger
For now this defers to the existing APIs and determines the correct dataset from a global flag.
Pushed by jrediger@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a5849dab9066
Define new snapshot APIs for scalars and histograms r=chutten
https://hg.mozilla.org/mozilla-central/rev/a5849dab9066
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.