Skip to main content
Rime model containers push OpenTelemetry metrics and don’t serve a Prometheus endpoint themselves. To scrape them, run an OpenTelemetry Collector that receives the metrics and exposes them on port 9090.

Configure the model container

Point the model at a collector available as otelcol on the same Docker network:
See Health checks and metrics for the emitted series and histogram controls.

Configure the collector

Create otelcol.yaml:
Run the collector on the model’s Docker network so the model can reach it as otelcol, and expose its Prometheus port. Replace <rime-network> with that network’s name, which docker network ls lists. Compose names it <project>_default unless you configure one:

Configure Prometheus

Add the collector to prometheus.yml:
Reload Prometheus, open Status > Targets, and confirm that the rime-tts target is up. If it’s down, Prometheus can’t reach the collector on port 9090.