Closed Bug 1931891 Opened 1 year ago Closed 2 months ago

Language-specific casing is carried over into object metric data

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: afranchuk, Assigned: janerik)

References

Details

The keys of object metric entries use language-specific casing rather than being consistent across languages. This is annoying as a developer, because working on different platforms with the same metrics requires somewhat different code. Besides the client code, it is very cumbersome to deal with this when trying to use ingested data in e.g. BigQuery. For instance, this query merges desktop and Android data: the metrics are identical on both platforms, however the data ends up being incompatible because of the differently named keys.

See Also: → 1929903
Priority: -- → P3

We "accidentally" fixed that in Glean v66.0.0 now.
I'm fixing the crash ping tests in tree.

:afranchuk, where is the data used? I can see if we need to fix up the queries too.

Flags: needinfo?(afranchuk)
Assignee: nobody → jrediger
Priority: P3 → P1

This is the main place it's used. You can see the serde aliases which allow it to read the different keys.

Flags: needinfo?(afranchuk)

Ah, so it supports both, that's good and will continue to work.

This now landed as part of bug 1991891

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.