Closed Bug 1830098 Opened 2 years ago Closed 6 months ago

Implement the subset of Telemetry Environment metrics useful for crash pings as Glean metrics

Categories

(Toolkit :: Crash Reporting, task)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: afranchuk, Assigned: afranchuk)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This follows on from the analysis done in bug 1819425. The document discussing the metrics is here.

No longer depends on: 1819425
Summary: Implement the subset of Telemetry metrics useful for crash pings as Glean metrics → Implement the subset of Telemetry Environment metrics useful for crash pings as Glean metrics
Blocks: 1815316

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:afranchuk, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(gsvelto)
Flags: needinfo?(afranchuk)

Was away the last 2 weeks. Will get back to landing this.

Flags: needinfo?(gsvelto)
Flags: needinfo?(afranchuk)
Pushed by afranchuk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/124c0a72502a Implement Telemetry Environment metrics as Glean metrics r=gsvelto

Backed out with Bug 1815316 for causing bustage on metrics.rs related to brokenAddBlockers

[task 2024-05-30T16:11:45.074Z] 16:11:45     INFO -       Running `CARGO=/builds/worker/fetches/rustc/bin/cargo CARGO_CRATE_NAME=geckoservo CARGO_MANIFEST_DIR=/builds/worker/checkouts/gecko/servo/ports/geckolib CARGO_PKG_AUTHORS='The Servo Project Developers' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MPL-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=geckoservo CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.0.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/builds/worker/workspace/obj-build/release/deps /builds/worker/fetches/sccache/sccache /builds/worker/fetches/rustc/bin/rustc --crate-name geckoservo --edition=2015 servo/ports/geckolib/lib.rs --error-format=json --json=diagnostic-rend[...]
[task 2024-05-30T16:11:45.074Z] 16:11:45    ERROR -  error: structure field `brokenAddBlockers` should have a snake case name
[task 2024-05-30T16:11:45.074Z] 16:11:45     INFO -       --> /builds/worker/workspace/obj-build/toolkit/components/glean/api/src/metrics.rs:45781:15
[task 2024-05-30T16:11:45.075Z] 16:11:45     INFO -        |
[task 2024-05-30T16:11:45.075Z] 16:11:45     INFO -  45781 |           pub brokenAddBlockers: AsyncShutdownTimeoutObjectItemBrokenaddblockers,
[task 2024-05-30T16:11:45.075Z] 16:11:45     INFO -        |               ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `broken_add_blockers`
[task 2024-05-30T16:11:45.076Z] 16:11:45     INFO -        |
[task 2024-05-30T16:11:45.076Z] 16:11:45     INFO -        = note: `-D non-snake-case` implied by `-D warnings`
[task 2024-05-30T16:11:45.076Z] 16:11:45     INFO -        = help: to override `-D warnings` add `#[allow(non_snake_case)]`
[task 2024-05-30T16:11:45.076Z] 16:11:45    ERROR -  error: could not compile `firefox-on-glean` (lib) due to 1 previous error
Flags: needinfo?(afranchuk)

:janerik This looks like a Glean codegen issue? Or at the very least, a failure in documentation for the object type (regarding assumptions about property name case)? Also I'm not sure why this built fine for me locally (no warnings at all, just retried)?

Flags: needinfo?(afranchuk) → needinfo?(jrediger)

Hm, yeah, that's the wrong casing indeed. I can look into this next week, until then I leave my ni? in as a reminder.

Pushed by afranchuk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/09c404c81d7f Implement Telemetry Environment metrics as Glean metrics r=gsvelto

Backed out for causing BR bustages

Backout link

Push with failures

Failure log

Flags: needinfo?(afranchuk)

mach try auto failed me. The Version field changing to be included in pings caused a trivial test failure.

Flags: needinfo?(afranchuk)
Pushed by afranchuk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6875e1a9dc86 Implement Telemetry Environment metrics as Glean metrics r=gsvelto
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
See Also: → 1900312
Flags: needinfo?(jrediger)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: