Save the date Explore sessions covering OpenTelemetry, Prometheus, & Loki, discover Grafana 12’s latest features, and more.
Save the dateProducts
LGTM+ Stack
Key Capabilities
Observability Solutions
IRM
Deploy The Stack
Open Source
Community resources
Dashboard templates
Try out and share prebuilt visualizations
Prometheus exporters
Get your metrics into Prometheus quickly
end-to-end solutions
Opinionated solutions that help you get there easier and faster
monitor infrastructure
Out-of-the-box KPIs, dashboards, and alerts for observability
visualize any data
Instantly connect all your data sources to Grafana
Learn
Stay up to date
Technical learning
Docs
Get started
Get started with Grafana
Build your first dashboard
Get started with Grafana Cloud
Learning Journeys
What's new / Release notes
Help build the future of open source observability software Open positions
Check out the open source projects we support Downloads
Deploy The Stack
end-to-end solutions
Opinionated solutions that help you get there easier and faster
visualize any data
Instantly connect all your data sources to Grafana
The
k6
module contains k6-specific functionality.
Function | Description |
---|---|
check(val, sets, [tags]) | Runs one or more checks on a value and generates a pass/fail result but does not throw errors or otherwise interrupt execution upon failure. |
fail([err]) | Throws an error, failing and aborting the current VU script iteration immediately. |
group(name, fn) | Runs code inside a group. Used to organize results in a test. |
randomSeed(int) | Set seed to get a reproducible pseudo-random number using Math.random . |
sleep(t) | Suspends VU execution for the specified duration. |