Closed Bug 1548129 Opened 6 years ago Closed 5 years ago

Disable metrics on a disabled custom ping at build time

Categories

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

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mdroettboom, Unassigned)

References

Details

(Whiteboard: [telemetry:glean-rs:backlog])

Once we have a disabled and expires flag on pings as part of 1549767, we could pretty easy disable any metrics that are sent only on those pings at build time as well, which would save the work of recording those metrics at run time, only to have them never sent in a ping.

Priority: -- → P3
Whiteboard: [telemetry:mobilesdk:m?] → [telemetry:glean-rs:m?]
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog]
Whiteboard: [telemetry:glean-rs:backlog] → telemetry:glean-rs:m11
Assignee: nobody → jrediger
Priority: P3 → P1
Whiteboard: telemetry:glean-rs:m11 → [telemetry:glean-rs:m11]

The mentioned bug is the wrong one; I couldn't find a relevant one, so I filed a new one: https://bugzilla.mozilla.org/show_bug.cgi?id=1587838

Unassigning and moving back to triage, because we don't have the necessary functionality yet.

Assignee: jrediger → nobody
Depends on: 1587838
Whiteboard: [telemetry:glean-rs:m11] → [telemetry:glean-rs:m?]
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog]
Priority: P1 → P3

The concept of "disabled" or "expired" pings might have other implications and open up other bugs. For example, what if we collect more than 500 events on a disabled ping. Would they ever be cleared, or just fill up disk indefinitely?

I would be in favor of explicitly disallowing "disabled" or "expired" pings for all time, and closing this bug -- we don't have them now anyway.

(In reply to Michael Droettboom [:mdroettboom] from comment #3)

I would be in favor of explicitly disallowing "disabled" or "expired" pings for all time, and closing this bug -- we don't have them now anyway.

This sounds like a good idea.

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