Basics of load testing with k6 and Grafana in 20 minutes

Sdílet
Vložit
  • čas přidán 22. 08. 2024
  • 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/gra...
    Docs: k6.io/docs
    The Grafana k6 Cloud data source plugin: grafana.com/gr...
  • Věda a technologie

Komentáře • 7

  • @joenio
    @joenio Před 2 lety

    k6 is an amazing tool, thanks!

    • @k6io
      @k6io  Před 2 lety +2

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

  • @marcelmfa
    @marcelmfa Před 2 lety +1

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

    • @k6io
      @k6io  Před 2 lety +1

      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

  • @johayn8103
    @johayn8103 Před 2 lety +1

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

    • @k6io
      @k6io  Před 2 lety +3

      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: czcams.com/video/Zln_TWOuoho/video.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 Před 2 lety

      Thank you for your answer! I like your vids!