Zack Saadioui
8/27/2024
1
2
bash
curl -fsSL https://ollama.com/install.sh | sh1
2
bash
ollama create mymodel -f ./Modelfile1
2
bash
ollama run model_name1
/metrics1
2
plaintext
http://localhost:11434/metrics1
2
bash
curl http://127.0.0.1:11434/metrics1
prometheus.yml1
2
``
In this file, we have set Prometheus to scrape metrics every 30 seconds from Ollama located at1
2
bash
./prometheus --config.file=./prometheus.yml1
2
plaintext
http://localhost:90901
2
plaintext
http://localhost:30001
2
plaintext
http://localhost:9090Copyright © Arsturn 2025