Configure the model container
Point the model at a collector available asotelcol on the same Docker network:
Configure the collector
Createotelcol.yaml:
Configure Prometheus
Add the collector toprometheus.yml:
rime-tts target is up.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Export Rime on-prem OpenTelemetry metrics for Prometheus to scrape.
otelcol on the same Docker network:
services:
model:
environment:
OTEL_COLLECTOR_PROTOCOL: grpc
OTEL_COLLECTOR_ENDPOINT: http://otelcol:4317
otelcol.yaml:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
exporters:
prometheus:
endpoint: 0.0.0.0:9090
service:
pipelines:
metrics:
receivers: [otlp]
exporters: [prometheus]
docker run -d \
--name rime-otelcol \
--network "<rime-network>" \
-p 9090:9090 \
-v "$(pwd)/otelcol.yaml:/etc/otelcol-contrib/config.yaml:ro" \
otel/opentelemetry-collector-contrib:0.139.0
prometheus.yml:
global:
scrape_interval: 5s
scrape_configs:
- job_name: "rime-tts"
static_configs:
- targets: ["<collector-host>:9090"]
rime-tts target is up.