An example with sloth cli generate and dashboard.
- clone code and build app
git clone git@github.com:grafanafans/play-with-sloth.git
cd play-with-sloth- generate rules with
sloth generatecommand
make generate
- start app
make start
- change
myserviceerror 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