Closed Bug 1663013 Opened 6 years ago Closed 6 years ago

getting "Telemetry::CoveragePing ERROR no endpoint base set" error logs in Thunderbird

Categories

(Thunderbird :: General, defect)

defect

Tracking

(thunderbird_esr78 fixed, thunderbird81 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
thunderbird_esr78 --- fixed
thunderbird81 --- fixed

People

(Reporter: mkmelin, Assigned: mkmelin)

Details

Attachments

(2 files)

As reported by Wayne, there can be some error logs
Telemetry::CoveragePing ERROR no endpoint base set

Not sure why I haven't seen them.
https://searchfox.org/mozilla-central/source/toolkit/components/telemetry/pings/CoveragePing.jsm#50

I think basically COVERAGE_ENABLED_PREF should be checked first.
But for ease of fixing, we might add a pref to avoid this.

https://searchfox.org/comm-central/search?q=toolkit.coverage.enabled&path=

The easy fix...

Attachment #9173856 - Flags: review?(khushil324)

Would be interested to know how coverage is used. I can't find any code point that enables it.

Status: NEW → ASSIGNED

Comment on attachment 9173856 [details] [diff] [review]
bug1663013_telemetry_coverage.patch

Looks good to me after looking at the firefox changes. r=khushil

Attachment #9173856 - Flags: review?(khushil324) → review+

Docs for this ping are here: https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/data/coverage-ping.html
From that:

The ping is disabled by default. It is intended to be enabled for users on an experimental basis using the preference toolkit.coverage.enabled.

So I assume this would be enabled if needed through experiments. However I'm not aware of any that's still using it.
The patch still makes sense, we shouldn't need to check any additional prefs if it's not even enabled.

Pushed by mkmelin@iki.fi: https://hg.mozilla.org/integration/autoland/rev/e5b569f741d6 don't check toolkit.coverage.endpoint.base before we know it's going to be needed. r=janerik
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Comment on attachment 9173856 [details] [diff] [review]
bug1663013_telemetry_coverage.patch

[Triage Comment]
We should take the prefs-patch only on beta and for 78 to avoid the extra error logs.
Not needed on trunk.

Attachment #9173856 - Flags: approval-comm-esr78?
Attachment #9173856 - Flags: approval-comm-beta?

Comment on attachment 9173856 [details] [diff] [review]
bug1663013_telemetry_coverage.patch

[Triage Comment]
Approved for beta.
Approved for esr78.

Attachment #9173856 - Flags: approval-comm-esr78?
Attachment #9173856 - Flags: approval-comm-esr78+
Attachment #9173856 - Flags: approval-comm-beta?
Attachment #9173856 - Flags: approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: