Closed Bug 1639882 Opened 6 years ago Closed 7 months ago

Send the "dirty_startup" baseline ping from Python bindings

Categories

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

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Dexter, Unassigned)

Details

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

This is currently implemented for other language bindings, but not for Python.

Priority: -- → P3
Whiteboard: [telemetry:glean-rs:m?]
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:m13]

We don't even have a baseline ping in Python. Should we increase the scope of this bug to include that?

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

We don't even have a baseline ping in Python. Should we increase the scope of this bug to include that?

I'm torn: one one hand, it would make sense to bring the whole feature here. On the other hand, we need to settle a big design question moving to unblock it: "How to measure retention of CLI applications"? That would require DS involvement (probably, not sure).

The 'dirty_startup' is sort-of well designed already: we can use the "atexit" handler to clear any dirty bit and have generate this dirty_startup as a signal that something went bad in the software.

I have no strong preference, though, as I'm not sure how useful that would be on its own.

Should this be implemented now that bug 1688842 is a thing?

Flags: needinfo?(jrediger)

I guess we could do that now.
It should behave correctly:

If the activity API is used (correctly) eventually the dirty bit will be flipped to true.
Thus a dirty_startup ping can happen.

If the activity API is never used, the dirty_bit will never be true.
Thus no dirty_startup ping can happen.

Flags: needinfo?(jrediger)

Closing as stale

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