https://github.com/iamgoangle/k6-perf-demo
https://github.com/iamgoangle/k6-perf-demo
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iamgoangle/k6-perf-demo
- Owner: iamgoangle
- Created: 2021-05-07T09:14:07.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-16T08:22:52.000Z (about 5 years ago)
- Last Synced: 2024-06-19T16:39:36.446Z (about 2 years ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to K6 / InfluxDB and Grafana for Reporter
### Run InfluxDB and Grafana
You can get starrted loadting with K6 tool and visualize report to Grafana:
```sh
docker compose influxdb grafana
```
### Run K6
```sh
docker-compose run k6
docker-compose run k6 run //scripts/sample.js
```
#### K6 Metrics
https://k6.io/docs/using-k6/metrics
#### K6 + InfluxDB
[https://k6.io/docs/results-visualization/influxdb-+-grafana/](https://k6.io/docs/results-visualization/influxdb-+-grafana/)
#### Grafana K6 Dashboard
https://grafana.com/grafana/dashboards/2587
### Notes
image: influxdb:2.0+ has a trouble with K6 authentication with InfluxDB.