Closed Bug 1551450 Opened 7 years ago Closed 7 years ago

Provide both a public async and a private sync API metric API

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Dexter, Assigned: Dexter)

Details

(Whiteboard: [telemetry:glean-rs:m3])

Attachments

(1 file)

glean-core's Glean.kt is currently using the metric type API to set its core metrics. This is correct. However, the public Glean metrics API need to be async (currently it isn't), and the core metrics need to be set synchronously.

We might need to expose 2 APIs:

  • a public async one, for using outside of glean-core;
  • an internal sync one, exclusively for use in glean-core;
Priority: -- → P1
Whiteboard: [telemetry:glean-rs:m3]
Assignee: nobody → alessio.placitelli
Attached file GitHub Pull Request
Status: NEW → RESOLVED
Closed: 7 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: