Closed Bug 1894530 Opened 5 months ago Closed 4 months ago

Augment the Glean Interface For Firefox Telemetry (GIFFT) to support the Legacy Telemetry event `value` parameter

Categories

(Toolkit :: Telemetry, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: chutten, Assigned: travis_)

References

Details

Attachments

(1 file)

Legacy Telemetry Events have the following recording API: recordEvent(aCategory, aMethod, aObject, aValue, aExtra)

GIFFT can successfully map to all of those parameters (the telemetry_mirror property specifies a specific combination of category+method+object, and aExtra passes through unchanged from Glean's record(aExtra) (modulo types and differing limits in the systems about how many and what length of extra keys and values are permitted)) except aValue.

In order to support migrating all existing Legacy Telemetry event recording to Glean APIs, GIFFT's going to need to handle that last piece.

This bug is about enhancing GIFFT to support some mechanism for supplying aValue. This will probably include:

  • Some additional FOG-only metrics.yaml property (like telemetry_mirror or use_ohttp)
  • Changes to codegen to make that information available to t/c/g/bindings/private/Event.cpp
  • Documentation in the GIFFT docs about how and when to use this, and whether the different limits in Legacy and Glean mean certain values will be truncated, and at what times, and are those truncations instrumented
  • Tests! Especially about that truncation stuff
Assignee: nobody → tlong
Priority: -- → P1
Blocks: 1896732
Pushed by tlong@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e205f755a69c Augment the Glean Interface For Firefox Telemetry (GIFFT) to support the Legacy Telemetry event `value` parameter.r=chutten
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Blocks: 1910470
Blocks: 1919894
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: