Closed
Bug 1910470
Opened 2 months ago
Closed 2 months ago
Augment the FOG C++ API's Glean Interface For Firefox Telemetry (GIFFT) to support the Legacy Telemetry event `value` parameter
Categories
(Toolkit :: Telemetry, enhancement, P1)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
130 Branch
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: chutten, Assigned: chutten)
References
Details
Attachments
(1 file)
When we added support for mapping a value
-named extra key in the Glean API to the value
parameter in the Legacy Telemetry event recording API, we only supported the JS API. We have a few users of the Legacy Telemetry event API in C++ that we should also support.
Assignee | ||
Comment 1•2 months ago
|
||
Pushed by chutten@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d92bb998701
Support value extra GIFFT mapping in Glean C++ API r=TravisLong
Comment 3•2 months ago
|
||
Backed out for causing Gtest failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/0901a4733e77b9e7dcbad2eaa02ba71684ce513d
Failure log -> TEST-UNEXPECTED-FAIL | TelemetryTestFixture.GIFFTValue | Value of: recordLength == 5
TEST-START | TelemetryTestFixture.GIFFTValue
[task 2024-07-29T21:58:49.529Z] 21:58:49 WARNING - TEST-UNEXPECTED-FAIL | TelemetryTestFixture.GIFFTValue | Value of: recordLength == 5
[task 2024-07-29T21:58:49.531Z] 21:58:49 INFO - Actual: false
[task 2024-07-29T21:58:49.531Z] 21:58:49 INFO - Expected: true
[task 2024-07-29T21:58:49.531Z] 21:58:49 INFO - Event record must have 5 elements.
[task 2024-07-29T21:58:49.531Z] 21:58:49 INFO - @ /builds/worker/checkouts/gecko/toolkit/components/telemetry/tests/gtest/TestEvents.cpp:164
[task 2024-07-29T21:58:49.532Z] 21:58:49 WARNING - TEST-UNEXPECTED-FAIL | TelemetryTestFixture.GIFFTValue | test completed (time: 13ms)
[task 2024-07-29T21:58:49.532Z] 21:58:49 INFO - TEST-START | TelemetryTestFixture.AccumulateCountHistogram
Flags: needinfo?(chutten)
Assignee | ||
Comment 4•2 months ago
|
||
So it kinda/sorta depends on the contents whether or not there's five or six items returned in the event record. It's not a very helpful API in that respect.
I've adjusted the test so it ought to always be six.
Flags: needinfo?(chutten)
Pushed by chutten@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d08c7ee15b0a
Support value extra GIFFT mapping in Glean C++ API r=TravisLong
Comment 6•2 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox130:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•