Closed
Bug 1508948
Opened 6 years ago
Closed 6 years ago
Implement the "timespan" metric type specific API in glean
Categories
(Toolkit :: Telemetry, defect, P1)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox65 | --- | affected |
People
(Reporter: Dexter, Assigned: Dexter)
References
Details
(Whiteboard: [telemetry:mobilesdk:m3])
Attachments
(1 file)
This bug is about implementing the "timespan" metric type in glean.
From the SDK spec [1]:
> Timespan
> Can record one timespan measurement.
>
> Each time a timespan is measured, it is added to this value. This value is zero'd every time it is sent with a ping. Therefore, it is possible to use this to measure the total time spent in e.g. a particular function or view, even if that function was called multiple times.
>
> Additional properties:
> time_unit: (string, required) Specifies the unit that results will be stored and displayed in. If not provided, it defaults to milliseconds. Timespans are sent to the backend as integers, so unit also implies the maximum resolution at which timespans are recorded. Accepted values are: "nanosecond", "microsecond", "millisecond", "second", "minute", "hours", "day".
>
> Examples:
> Record in ms how long it took to load settings.sqlite from disk.
>
> Errors:
> invalid_value: If the timer is started before being ended, this is considered an error and reported through the error-reporting mechanism.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → alessio.placitelli
Points: --- → 3
Priority: -- → P1
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee: alessio.placitelli → tlong
Assignee | ||
Updated•6 years ago
|
Assignee: tlong → alessio.placitelli
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
The PR was reviewed and merged, finally closing this :)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•