Track active projects in metrics
An active project is defined as a project where there has been at least a buffer edit, a join request/response, or a follow update in the last minute.
This commit is contained in:
parent
6d93a41f40
commit
3a1d0dd692
5 changed files with 97 additions and 22 deletions
|
@ -36,6 +36,7 @@ message Envelope {
|
|||
OpenBufferForSymbolResponse open_buffer_for_symbol_response = 29;
|
||||
|
||||
UpdateProject update_project = 30;
|
||||
RegisterProjectActivity register_project_activity = 31;
|
||||
UpdateWorktree update_worktree = 32;
|
||||
|
||||
CreateProjectEntry create_project_entry = 33;
|
||||
|
@ -135,6 +136,10 @@ message UpdateProject {
|
|||
repeated WorktreeMetadata worktrees = 2;
|
||||
}
|
||||
|
||||
message RegisterProjectActivity {
|
||||
uint64 project_id = 1;
|
||||
}
|
||||
|
||||
message RequestJoinProject {
|
||||
uint64 requester_id = 1;
|
||||
uint64 project_id = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue