Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# github.com/livekit/protocol

## 1.50.4

### Patch Changes

- feat: add simulation/redaction fields to MetricsRecordingHeader - [#1679](https://github.com/livekit/protocol/pull/1679) ([@chenghao-mou](https://github.com/chenghao-mou))

## 1.50.3

### Patch Changes
Expand Down
45 changes: 32 additions & 13 deletions livekit/livekit_metrics.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "github.com/livekit/protocol",
"private": true,
"version": "1.50.3",
"version": "1.50.4",
"scripts": {
"changeset": "changeset",
"ci:publish": "pnpm --filter @livekit/protocol run build && changeset publish"
Expand Down
6 changes: 6 additions & 0 deletions packages/javascript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @livekit/protocol

## 1.50.4

### Patch Changes

- feat: add simulation/redaction fields to MetricsRecordingHeader - [#1679](https://github.com/livekit/protocol/pull/1679) ([@chenghao-mou](https://github.com/chenghao-mou))

## 1.50.3

## 1.50.2
Expand Down
2 changes: 1 addition & 1 deletion packages/javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@livekit/protocol",
"version": "1.50.3",
"version": "1.50.4",
"description": "",
"type": "module",
"require": "dist/index.cjs",
Expand Down
3 changes: 3 additions & 0 deletions protobufs/livekit_metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,14 @@ message EventMetric {
}

message MetricsRecordingHeader {
reserved 2; // was observability field, removed in #1294
string room_id = 1 [(logger.name) = "roomID"];
uint64 duration = 3; // milliseconds
google.protobuf.Timestamp start_time = 4;
map<string, string> room_tags = 5;
string room_name = 6;
google.protobuf.Timestamp room_start_time = 7;
string job_id = 8;
bool simulated = 9; // session is a simulation; the collector skips PII redaction for it unless redaction_enabled is set
bool redaction_enabled = 10; // force PII redaction on for this session (only ever enables, never disables)
}
Loading