Skip to content

lengochoangminh/GrafanaK6-Showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerize the infrastructure combined K6 + InfluxDB > Grafana Dashboard

  • Set up the infrastructure in docker-compose.yaml. Using K6 to send the data to InfluxDB, then use InfluxDB as the datasource to show the live test results to Grafana Dashboard.
  • API Documentation: https://dummyjson.com/docs

Steps

  1. Launch the infrastructure: docker-compose up -d influxdb grafana
  2. Run the test case:
docker-compose run k6 run /src/test_scripts/dummy-json/GetSingleProduct.js --insecure-skip-tls-verify
  1. View the live test results at: http://localhost:3000/d/k6/k6-load-testing-results
  2. Clean up
  • docker-compose down
  • docker system prune -f

About

Dockerize the infrastructure combined K6, InfluxDB and Grafana Dashboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published