Basics of load testing with k6 and Grafana in 20 minutes

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024
  • НаукаНаука

Комментарии • 7

  • @johayn8103
    @johayn8103 3 года назад +1

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

    • @k6io
      @k6io  3 года назад +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: ruclips.net/video/Zln_TWOuoho/видео.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 3 года назад

      Thank you for your answer! I like your vids!

  • @marcelmfa
    @marcelmfa 2 года назад +1

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

    • @k6io
      @k6io  2 года назад +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

  • @joenio
    @joenio 2 года назад

    k6 is an amazing tool, thanks!

    • @k6io
      @k6io  2 года назад +2

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