Closed Bug 1680803 Opened 5 years ago Closed 5 years ago

Actually, JS categories and metrics should be camelCase, not snake_case

Categories

(Toolkit :: Telemetry, task, P1)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: chutten, Assigned: chutten)

References

Details

(Whiteboard: [telemetry:fog:m6])

Attachments

(1 file)

Oops. JS style guide says camelCase for JS in Firefox Desktop. So we should probably do that.

So instead of

Glean.fog_ipc.replay_failures.add(1);

We need

Glean.fogIpc.replayFailures.add(1);

I'm not sure why I said snake_case in bug 1676508. Even the design uses camelCase (see bug 1635238)

Blocks: 1680020
Assignee: nobody → chutten
Status: NEW → ASSIGNED
Priority: P3 → P1
Pushed by chutten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b50eb52a5ee JS Glean metrics should be camelCase, not snake_case r=janerik
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: