An example with sloth cli generate and dashboard.
- clone code and build app
git clone [email protected]:grafanafans/play-with-sloth.git
cd play-with-sloth
- generate rules with
sloth generate
command
make generate
- start app
make start
- change
myservice
error rate
curl http://localhost:8080/errrate?value=0.005
- visit sloth slo dashboard
Go http://localhost:3000
page and new dashboard with import by ids(14348
and 14643
).
- stop app
make down