Skip to content

Add session ID and source to client activity loop #195

Open
@f0ssel

Description

@f0ssel

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @f0ssel

        Issue actions

          Add session ID and source to client activity loop · Issue #195 · coder/internal