Closed Bug 1531132 Opened 5 years ago Closed 4 years ago

Consider whether we need to keep the page action histogram telemetry (was: "Invalid string label" error in console when pinning a tab from Page Action menu)

Categories

(Firefox :: Toolbars and Customization, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1603787

People

(Reporter: rrosario, Unassigned)

References

Details

The error is coming from mozilla-central/toolkit/components/telemetry/core/TelemetryHistogram.cpp.

I am pretty sure that it's because "pinTab" wasn't added to the accepted "labels" for FX_PAGE_ACTION_* events in mozilla-central/toolkit/components/telemetry/Histograms.json. All those events expired in Firefox 64, so I was told they aren't collected anymore and I didn't have to add "pinTab" to the "labels" list.

So... I think this is a harmless error. But filing it anyway before somebody else does.

:janerik does Comment 0 sound right to you? Any idea why that error is being logged?

Flags: needinfo?(jrediger)

It's indeed harmless, but maybe a bit spammy. Unfortunately we only check the expiration after checking the arguments (I think that's due to some refactoring I did a while ago, we should fix that on the Telemetry side).

It would be nice if you can just remove the expired histograms (that means removing it from Histograms.json as well as all code that tries to record this data).

Flags: needinfo?(jrediger)
Component: Activity Streams: Newtab → Toolbars and Customization
Depends on: 1528952

There's ongoing discussion about whether we want to keep (and renew) this telemetry, or want to remove it. What to do here depends on the outcome of that discussion.

Priority: -- → P3
Summary: "Invalid string label" error in console when pinning a tab from Page Action menu → Consider whether we need to keep the page action histogram telemetry (was: "Invalid string label" error in console when pinning a tab from Page Action menu)

Duping forward to where we hit this a second time...

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