Closed Bug 1523331 Opened 6 years ago Closed 6 years ago

Namespace specific metrics in the library or application in which they are defined

Categories

(Toolkit :: Telemetry, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: mdroettboom, Assigned: mdroettboom)

References

Details

(Whiteboard: [telemetry:mobilesdk:m5] )

Attachments

(3 files)

As part of the investigation for bug 1523307 and bug 1505395, it was discovered that all specific metrics that Glean generates are put in a single namespace (mozilla.components.service.glean.metrics.) and everything in there is public. This means that in our multi-libraries-using-Glean future, any library can modify or report to any metric defined by any other library or application, including Glean itself.

So support good code encapsulation, we should generate the metrics to reside in the namespace of the library or application in which the metrics are defined, and make everything in there internal.

Blocks: 1491345, 1505395
Whiteboard: [telemetry:mobilesdk:m4]
Assignee: nobody → mdroettboom
Attached file GitHub Pull Request (deleted) —
Attached file GitHub Pull Request (deleted) —
Priority: -- → P1
Whiteboard: [telemetry:mobilesdk:m4] → [telemetry:mobilesdk:m5]
Depends on: 1509899
Attached file GitHub Pull Request (deleted) —
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.

Attachment

General

Created:
Updated:
Size: