- 1. Installing services using Docker Compose
- 2. Locust Settings
- 3. Prometheus Settings
- 4. Grafana Settings
SOURCE : BLOG
After downloading the project, open the file path through the console and type the command
docker-compose up --scale worker = 4
Locust is an open-source testing tool, which allows us to specify loading scenarios by a Python code.
Documentation : Locust
Locust access URL: localhost:8089Note : locust_http.py : We write the url paths we want to see in Grafana to this file.
Note : If you use localhost in the 'Host Url' section and get an error, use your ip address
Its main focus is to provide valid insight into system performance by providing a way for certain variables of that system to be monitored. We use Prometheus to show on graphana
Prometheus access URL: localhost:9090
Documentation : Prometheus
Documentation : Grafana
Grafana access URL: localhost:3000Username : admin
Password : admin
First, add prometheus database via Settings->Database Tab or URL localhost:3000/datasources. Prometheus Host: 192.168.3.2:9090 (use your own ip)
after adding the database, We import 'locust_dashboard.JSON' file for panel design.