Closed
Bug 1589675
Opened 7 years ago
Closed 2 years ago
Investigate refactoring to not pass the Glean singleton when recording metrics
Categories
(Data Platform and Tools :: Glean: SDK, defect, P4)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: mdroettboom, Unassigned)
Details
(Whiteboard: [telemetry:glean-rs:backlog])
Error recording currently requires a full Glean object because it's based on "real" labeled counters.
It could be refactored so it only requires a Database object, so it could be used in more low-level parts of the code.
See this comment thread.
Updated•7 years ago
|
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog]
Comment 1•6 years ago
|
||
I agree it would be nice to not pass the Glean object around when possible, but for metric recording it is not possible to do that since we need the Glean object to verify if upload is enabled or not, not only to get the Database object.
Refactoring this would require getting the upload status without having a Glean object, not really sure how we could that in a nice way.
Updated•5 years ago
|
Summary: Investigate refactoring error recording → Investigate refactoring to not pass the Glean singleton when recording metrics
Updated•5 years ago
|
Priority: P3 → P4
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•