Closed Bug 1803514 Opened 3 years ago Closed 2 months ago

Provide built-in reasons identifying pings sent manually during debug

Categories

(Data Platform and Tools :: Glean: SDK, enhancement, P4)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Dexter, Unassigned)

Details

When pings are submitted using our debug tools (e.g. to show up in the debug view) they will be sent without a ping_info.reason.

We should consider providing a ping reason that we automatically add in these cases, for example glean.debug or something.

Note that there is logic to prevent the use of un-defined ping reasons that will rewrite it to None. If we go with glean.debug and try to make special cases out of glean.* reasons, we should forbid the manual inclusion of glean.* reasons in glean_parser as well as in the SDKs.

The absence of a reason identifies manually triggered pings already (for built-in pings).
This is thus not super important to change.

Priority: -- → P4

Since the ultimate cause of a ping with no reason cannot be distinguished between "debug" and "this is probably a bug", we should still add a reason, in my opinion.

closing this as stale/wontfix

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