services: use start/stop_ttfb_metrics to report TTFB metrics

This commit is contained in:
Aleix Conchillo Flaqué
2024-06-06 13:51:59 -07:00
parent e765a29ca2
commit 390582d7f3
15 changed files with 85 additions and 62 deletions

View File

@@ -10,11 +10,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added TTFB debug logging for TTS services
- Added `enable_metrics` to `PipelineParams`.
- Added `MetricsFrame`. The `MetricsFrame` will report different metrics in the
system. Right now, it can report TTFB (Time To First Byte) values for
different services, that is the time spent between the arrival of a `Frame` to
the processor/service until the first `DataFrame` is pushed downstream.
- Added TTFB metrics and debug logging for TTS services.
### Fixed
- Fixed PlayHT TTS service to work properly async
- Fixed PlayHT TTS service to work properly async.
## [0.0.28] - 2024-06-05