Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 548 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 548 Bytes

play-with-sloth

An example with sloth cli generate and dashboard.

Usage

  1. clone code and build app
git clone [email protected]:grafanafans/play-with-sloth.git
cd play-with-sloth
  1. generate rules with sloth generate command
make generate
  1. start app
make start
  1. change myservice error rate
curl http://localhost:8080/errrate?value=0.005
  1. visit sloth slo dashboard

Go http://localhost:3000 page and new dashboard with import by ids(14348 and 14643).

  1. stop app
make down