Deprecate processing metrics (ProcessingMetricsData)

Add deprecation warnings to start_processing_metrics() and
stop_processing_metrics() on FrameProcessorMetrics and FrameProcessor.
Mark ProcessingMetricsData as deprecated in docstring. All existing
behavior is preserved — the warnings inform users that these will be
removed in a future version.
This commit is contained in:
Mark Backman
2026-02-26 19:52:34 -05:00
parent 7fe458fe59
commit c259a6a73b
4 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1 @@
- Deprecated `ProcessingMetricsData` and `start_processing_metrics()`/`stop_processing_metrics()` on `FrameProcessor` and `FrameProcessorMetrics`. These metrics don't accurately depict a service's performance. Instead, TTFB metrics are recommended. Processing metrics will be removed in the 1.0.0 version.