Skip to content

Commit

Permalink
add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shaonianyr committed Jun 19, 2020
1 parent 0210409 commit 9360a15
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## Boomer_locust

Boomer locust with prometheues and grafana example. Using docker-compose.yml.

## Usage

```
# get code
git clone [email protected]:ShaoNianyr/boomer_locust.git
# add venv
python3 -m venv env .
# activate venv
source env/bin/activate
# install locust
pip3 install locust
# vi prometheus_exporter.py
targets: ['your_ip:8089'] # replace your real ip
# install and run grafana & prometheus
docker-compose up -d
# run locust master
locust --master -f prometheus_exporter.py
# run goland slave
go run baidu.go
# view your urls
grafana http://localhost:3000
locust http://localhost:8089
```

## View

![code](code.png)

![grafana](grafana.png)

## Contributing

[locust](https://github.com/locustio/locust)

[boomer](https://github.com/myzhan/boomer)
Binary file added code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added grafana.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9360a15

Please sign in to comment.