Zack Saadioui
8/27/2024
1
2
bash
pip install ollama1
2
bash
pip install openlit1
2
3
4
5
python
import openlit
openlit.init(
    otlp_endpoint="YOUR_OTEL_ENDPOINT"
)1
YOUR_OTEL_ENDPOINT1
>=0.2.01
prometheus.yml1
2
bash
prometheus --config.file=prometheus.yml1
http://localhost:90901
2
promql
sum(rate(ollama_response_time_seconds_sum[5m])) by (model)Copyright © Arsturn 2025