Skip to content

Commit

Permalink
Unique IDs for analytics events and stats
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao committed Jun 14, 2024
1 parent 0411da6 commit 2b7a84e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion protobufs/livekit_analytics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ message AnalyticsStream {
}

message AnalyticsStat {
// unique id for this stat
string id = 14;
string analytics_key = 1;
StreamType kind = 2;
google.protobuf.Timestamp time_stamp = 3;
Expand All @@ -70,6 +72,8 @@ message AnalyticsStat {
string mime = 11;
float min_score = 12;
float median_score = 13;

// NEXT_ID: 15
}

message AnalyticsStats {
Expand Down Expand Up @@ -123,6 +127,8 @@ message AnalyticsClientMeta {
}

message AnalyticsEvent {
// unique id for this event
string id = 25;
AnalyticsEventType type = 1;
google.protobuf.Timestamp timestamp = 2;
string room_id = 3;
Expand All @@ -146,7 +152,7 @@ message AnalyticsEvent {
int32 video_layer = 22;
string node_id = 24;

// NEXT_ID: 25
// NEXT_ID: 26
}

message AnalyticsEvents {
Expand Down

0 comments on commit 2b7a84e

Please sign in to comment.