Zack Saadioui
8/27/2024
1
2
bash
curl -fsSL https://ollama.com/install.sh | sh
1
2
bash
ollama create mymodel -f ./Modelfile
1
2
bash
ollama run model_name
1
/metrics
1
2
plaintext
http://localhost:11434/metrics
1
2
bash
curl http://127.0.0.1:11434/metrics
1
prometheus.yml
1
2
``
In this file, we have set Prometheus to scrape metrics every 30 seconds from Ollama located at
1
2
bash
./prometheus --config.file=./prometheus.yml
1
2
plaintext
http://localhost:9090
1
2
plaintext
http://localhost:3000
1
2
plaintext
http://localhost:9090
Copyright © Arsturn 2024