Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jjpaulo2/locust-kubernetes-distributed
📈 A complete ecosystem runing on top of Kubernetes, to show how to use Locust to do distributed load tests.
https://github.com/jjpaulo2/locust-kubernetes-distributed
grafana kubernetes locust prometheus python
Last synced: 20 days ago
JSON representation
📈 A complete ecosystem runing on top of Kubernetes, to show how to use Locust to do distributed load tests.
- Host: GitHub
- URL: https://github.com/jjpaulo2/locust-kubernetes-distributed
- Owner: jjpaulo2
- License: mit
- Created: 2022-10-29T20:00:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T23:06:21.000Z (about 2 years ago)
- Last Synced: 2024-11-21T11:38:22.490Z (3 months ago)
- Topics: grafana, kubernetes, locust, prometheus, python
- Language: Python
- Homepage:
- Size: 1.51 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Locust distributed load test running on Kubernetes
A complete ecosystem runing in Kubernetes, to show how to use Locust to do distributed load tests.
### Running
#### Docker compose
```shell
$ docker compose up --build -d
```#### Kubernetes
Comming soon. See [#4](https://github.com/jjpaulo2/locust-kubernetes-distributed/issues/4).
## Accessing
#### Django RESTful API
- http://0.0.0.0:8880/swagger - Django CRUD API Swagger
- http://0.0.0.0:8880/admin - Django admin for CRUD API (user `admin` / pass `123`)#### Locust UI
- http://0.0.0.0:8881/ - Locust Master Front-end
#### Grafana
- http://0.0.0.0:8886/ - Grafana
#### Prometheus / exporters
- http://0.0.0.0:8883/metrics - Metrics from Locust server
- http://0.0.0.0:8884/metrics - Metrics from Django API Gunicorn server
- http://0.0.0.0:8885/graph - Prometheus front-end## Screenshots
#### Django RESTful API Swagger UI
![](./.screenshots/api-swagger.png)
#### Locust UI
![](./.screenshots/locust-ui.png)
#### Grafana Gunicorn Dashboard
![](./.screenshots/gunicorn-dashboard.png)
#### Grafana Locust Dashboard
![](./.screenshots/locust-dashboard.png)