- Clone this repo
- Put your env info (token etc) in
.env.bot
like in.env.bot.example
- Launch docker compose stack via
docker-compose up -d --build
- Go to http://grafana.localhost:3000/
- Go to
+
(on side panel) ->import
-> selectgrafana_dashboard.json
file from this repo, selectPrometheus
data source - Modify your bot in
bot/main.py
etc, re-launch viadocker-compose up -d --build
- Put your bot requirements to
bot/requirements.txt
Your bot runs inside docker container, as it should've been
Grafana and Prometheus are run via docker-compose in thier own containers. They are already pre-configured
Stats scale/client/extension configured to expose http /metrics
endpoint (internally by default) that is scraped by Prometheus