Closed Bug 1511435 Opened 6 years ago Closed 5 years ago

Glean potential to orphan metrics stored in SharedPreferences

Categories

(Data Platform and Tools :: Glean: SDK, defect, P3)

defect
Points:
2

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: travis_, Unassigned)

References

Details

(Whiteboard: [telemetry:mobilesdk:backlog])

Because of how Glean stores metric values in Android SharedPreferences using a key made from combining the ping name, category, and specific metric name, it's possible that values are orphaned and not removed when any part of the key name changes. The potential impact is low and centers on leaking some storage space to these lost metrics, but should probably look at a way to clean up metrics that haven't or won't be used.
Blocks: 1491345
Points: --- → 2
Priority: -- → P3
Whiteboard: [telemetry:mobilesdk:m?]
Whiteboard: [telemetry:mobilesdk:m?] → [telemetry:mobilesdk:backlog]
Component: Telemetry → Glean: SDK
Product: Toolkit → Data Platform and Tools
Version: Trunk → unspecified

Invalidated by move to glean core, and corrected by migration plan

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.