Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time active #124

Closed
winsmith opened this issue Oct 2, 2023 · 2 comments
Closed

Time active #124

winsmith opened this issue Oct 2, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@winsmith
Copy link
Contributor

winsmith commented Oct 2, 2023

Register for events. When the app is coming to the foreground, log the time. When the app is going to the background, calculate the time elapsed and send a signal with type "session.end" with "floatValue" the amount of seconds elapsed.

@winsmith winsmith added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Oct 4, 2023
@Jeehut
Copy link
Contributor

Jeehut commented Dec 1, 2024

This is very much related to our Pirate Metrics topic and could be handled together with that.

@Jeehut
Copy link
Contributor

Jeehut commented Feb 14, 2025

This is pretty much exactly what we implemented in #230. Closing. 🎉

Note that the signal is named TelemetryDeck.Session.started and the parameter is named TelemetryDeck.Retention.previousSessionSeconds.

@Jeehut Jeehut closed this as completed Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants