- Clone this repo
- Put your env info (token etc) in
.env.botlike 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.jsonfile from this repo, selectPrometheusdata source - Modify your bot in
bot/main.pyetc, 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