You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(metrics): Add V3 background segmentation metrics to media backend via protobuf
- Add video processor pipeline metrics (frame rate, per-processor latency) via protobuf signaling
- Add CDN processor performance metrics (segmentation duration, effect render, CPU usage) via observer
- Add metric dimensions for processor name, model type, and delegate type
- Add numeric initialization metrics (asset loading time, compatibility, processor creation status)
- Extend SignalingProtocol.proto with metric type enums 114-128 and dimension types 3-5
- Simplify BackgroundSegmentationInitializationMetrics to numeric-only interface for protobuf compatibility
- Remove per-frame reportProcessorError in favor of aggregated CDN errorCount
- Rewrite BackgroundSegmentationMetrics.test.ts for new interface
- Add new tests to BackgroundSegmentationVideoFrameProcessor.test.ts
- Add proper assertions to StatsCollector tests
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
12
- Added CPU pressure state reporting via the [Compute Pressure API](https://developer.mozilla.org/en-US/docs/Web/API/Compute_Pressure_API), sent to the backend as the `CPU_PRESSURE_STATE` client metric where supported.
13
13
- Added `BackgroundSegmentationVideoFrameProcessor` with CDN asset loading, request deduplication, and browser compatibility checking (WebGL2, WASM, Workers)
14
14
- Added configurable blur strength (low/medium/high) and support for `selfie_general` and `selfie_multiclass` model types
15
-
- Added `BackgroundSegmentationMetrics` observer for StatsCollector integration
16
15
- Added dynamic filter switching via `setConfig`/`setModelType` without processor recreation
17
-
- Added video processor metrics collection (frame rate, per-processor latency) via StatsCollector
16
+
- Added video processor pipeline metrics (frame rate, per-processor latency) sent to the media backend via protobuf signaling
17
+
- Added CDN processor performance metrics (segmentation duration, effect render time, CPU usage, error count) via `BackgroundSegmentationMetricsObserver`
18
+
- Added metric dimensions for processor name, model type, and delegate type
0 commit comments