Skip to content

Bug 2034534 - Use glean-sym to record a metric from places Rust implementation#7336

Draft
badboy wants to merge 1 commit intomozilla:mainfrom
badboy:glean-dylib
Draft

Bug 2034534 - Use glean-sym to record a metric from places Rust implementation#7336
badboy wants to merge 1 commit intomozilla:mainfrom
badboy:glean-dylib

Conversation

@badboy
Copy link
Copy Markdown
Member

@badboy badboy commented Apr 23, 2026

This is not yet ready (I need to actually properly test it and also decide if those are the right metrics), but this is how I expect it to look.
Currently building against mozilla/glean#3426
The plan is to land that and a-s can depend on the git version (what is on main) by then.

Copy link
Copy Markdown
Contributor

@bendk bendk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me and the plan of using Glean main for a bit is totally fine with me. The Rust changes look great, I'm excited to start using code like that myself.

# file, You can obtain one at http://mozilla.org/MPL/2.0/.

---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we merge this with components/places/android/metrics.yaml? I'm never sure where the best place for the metrics files to live, but with the new code it feels less tied to any particular mobile platform.

However, that would mean the build.rs code would process all the metrics. Maybe its better to wait until this experiment is successful to move forward with that. I'm feeling very 50/50 on this choice.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah once we actually share the metrics we should use a single file. For now I figured it's best to keep it separate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants