Basics of load testing with k6 and Grafana in 20 minutes

Ғылым және технология

Nicole van der Hoeven discusses the basics of load testing with k6 and Grafana in 20 minutes, including a demo of how to get started with k6 and how to integrate it with Grafana using the k6 Cloud data source plugin and Prometheus Remote Write.
Nicole on Twitter: / n_vanderhoeven
Learn more about k6:
Website: k6.io
Repo: github.com/grafana/k6
Docs: k6.io/docs
The Grafana k6 Cloud data source plugin: grafana.com/grafana/plugins/g...

Пікірлер: 7

  • @joenio
    @joenio Жыл бұрын

    k6 is an amazing tool, thanks!

  • @k6io

    @k6io

    Жыл бұрын

    Glad you like it, Joenio! :) The team will be happy to hear that too. - Nicole

  • @johayn8103
    @johayn81032 жыл бұрын

    Is there currently a way to show report results from the k6 oss besides the cli ?

  • @k6io

    @k6io

    2 жыл бұрын

    Hi! Yes, there are a few ways: - HTML dashboards - Output to CSV, and then graph using a data visualization tool - Output to Influx DB and use Telegraf to send it to Grafana - Prometheus Remote Write output (very soon) You can use the HTML dashboard generators: github.com/benc-uk/k6-reporter and github.com/szboynono/k6-html-reporter . I also demonstrate how this works here: kzread.info/dash/bejne/jKCiwbaQf9jVmNI.html You can output k6 results to a CSV file using the command `k6 run test.js -o csv=results.csv` . This page in our documentation shows how to send results from k6 to an instance of Grafana/Prometheus: k6.io/docs/results-visualization/grafana-cloud/ And we are also working on a Prometheus Remote Write integration that will be released very soon! Hope that helps! - Nicole

  • @johayn8103

    @johayn8103

    2 жыл бұрын

    Thank you for your answer! I like your vids!

  • @marcelmfa
    @marcelmfa2 жыл бұрын

    Is there any k6 dashboard free to use on local grafana?

  • @k6io

    @k6io

    Жыл бұрын

    Hi Marcel! Sorry-- I'm just answering some older comments like yours that we missed the first time around. We don't have any specific dashboards for k6 OSS (you can create them yourself though) but if you are using k6 Cloud, you can definitely use the k6 Grafana app, which has a lot of similar charts to k6 Cloud. - Nicole

Келесі