OSS Tanbou

Grafana k6 — express user behavior and performance thresholds as JavaScript load tests

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
31,526
Primary language
Go
License
AGPL-3.0
Repository last updated
Sep 18, 2026

Overview

Grafana k6 is a load and performance testing tool that defines virtual-user behavior in JavaScript and generates traffic over HTTP, WebSocket, gRPC, Browser, and other protocols. Scenarios model traffic and thresholds turn latency or error-rate goals into pass/fail checks for CI.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Model traffic with virtual users and scenarios

Constant VUs, ramping, arrival-rate, and other scenario models can reproduce realistic request sequences using JavaScript.

Sources: [2][4]

Turn performance requirements into pass/fail thresholds

Latency percentiles, error rates, and other metrics can have thresholds that fail CI when performance regresses.

Sources: [2][4]

For catching API and web-service performance regressions before release

k6 suits teams that want versioned load profiles and SLO-like thresholds to compare latency, throughput, and errors release by release.

Sources: [2][4]

Control load levels, target environments, and AGPL-3.0 obligations

Load tests create real traffic. Coordinate ownership and test windows and ramp from localhost or staging before any production testing. k6 is distributed under AGPL-3.0.

Sources: [2][3]

Official sources

  1. [1]grafana/k6 repository(2026-09-20)
  2. [2]Grafana k6 README(2026-09-20)
  3. [3]Grafana k6 AGPL-3.0 license(2026-09-20)
  4. [4]Grafana k6 documentation(2026-09-20)
Supplemental curator note

k6 makes performance expectations versionable through scripts and thresholds, similar to functional tests. Load tests generate real traffic, so start against localhost or dedicated staging and increase load gradually rather than targeting production unexpectedly. k6 itself is currently AGPL-3.0.

Try it in 3 steps

  1. 1

    Install k6

    Install the k6 CLI using the official package instructions for your operating system.

    https://grafana.com/docs/k6/latest/set-up/install-k6/
  2. 2

    Start a localhost test server

    Run a local HTTP server in another terminal so the first load test cannot affect a third-party service.

    python -m http.server 8080 --bind 127.0.0.1
  3. 3

    Run two VUs for five seconds

    Start with very low load and inspect request count, latency, errors, and the standard k6 metrics.

    printf 'import http from "k6/http";\nexport default function () { http.get("http://127.0.0.1:8080"); }\n' > script.js && k6 run --vus 2 --duration 5s script.js
Check the official README

Growth

Growth trends · Last 30 days

31,526 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
51
Open PRs
134
Issues opened
44
Issues closed
54
PRs opened
309
PRs merged
164

Issues

44 / 54

Jun 23Sep 20
Issues openedIssues closed

Pull requests

309 / 164

Jun 23Sep 20
PRs openedPRs merged

Maintenance

Median first response
Not specified
Issue response rate
0% (0/44)

Based on up to the 100 newest issues opened by external users in the last 90 days. A first comment from an OWNER, MEMBER, or COLLABORATOR counts as a response; issues whose full comment history cannot be checked are excluded. The median and response rate update weekly.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • golang
  • load-testing
  • load-generator
  • javascript
  • es6
  • performance
  • go
  • hacktoberfest
  • k6
Stars
31,526
Forks
1,635
Watchers
332
Open issues
703
Contributors
259
Primary language
Go
License
AGPL-3.0
Repository last updated
Sep 18, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.