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

Add session ID and source to client activity loop #195

Open
f0ssel opened this issue Nov 4, 2024 · 0 comments
Open

Add session ID and source to client activity loop #195

f0ssel opened this issue Nov 4, 2024 · 0 comments
Labels
help wanted Extra attention is needed project/observability

Comments

@f0ssel
Copy link

f0ssel commented Nov 4, 2024

Right now we call update workspace usage with an app name and that results in the activity of the workspace being bumped. If we add a label field where we can see which client bumped the activity last and for what reason, it can help us debug issues. Additionally, a session ID can be used to debounce multiple bump calls in quick succession and be confident in the number of clients that are trying to connect (instead of counting every call as a new session).

@f0ssel f0ssel added this to the Workspace Activity Refactor milestone Nov 4, 2024
@coder-labeler coder-labeler bot added help wanted Extra attention is needed project/observability labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed project/observability
Projects
None yet
Development

No branches or pull requests

1 participant