Grafana Cloud k6
Grafana Cloud k6 is a performance-testing application that’s part of Grafana Cloud. It lets you leverage all of the k6 capabilities, while Grafana handles the infrastructure work of scaling servers, handling distributed load zones, and storing and aggregating metrics from your tests.Key features
Cloud execution
Run tests from multiple geographic locations without managing infrastructure.
Built-in dashboards
Visualize test results with pre-configured Grafana dashboards.
Performance insights
Get automated insights into your application’s performance.
Team collaboration
Share test results and collaborate with your team in one place.
Distributed testing
Generate load from multiple regions simultaneously.
Historical data
Compare test runs over time to track performance trends.
Getting started
Create a Grafana Cloud account
Sign up for Grafana Cloud at grafana.com.
Cloud vs local execution
- Local execution
- Cloud execution
- Hybrid approach
Run tests from your machine with results stored locally:Pros:
- No additional costs
- Full control over environment
- Quick iteration during development
- Limited by local machine resources
- Single geographic location
- Manual result storage
Load zones
Grafana Cloud k6 supports distributed testing from multiple geographic locations:- North America: US East, US West, Canada
- Europe: Ireland, Frankfurt, London
- Asia Pacific: Tokyo, Sydney, Singapore
- South America: São Paulo
Configuring load zones
Cloud features
Performance insights
Grafana Cloud k6 automatically analyzes your test results and provides:- Performance trends - Compare runs over time
- Anomaly detection - Identify unusual patterns
- Recommendations - Suggestions for optimization
- SLO tracking - Monitor against service level objectives
Team collaboration
- Share test results with team members
- Comment on test runs
- Set up notifications for test failures
- Manage team access and permissions
CI/CD integration
Integrate cloud tests into your pipeline:Pricing
Grafana Cloud k6 offers different pricing tiers based on:- Number of virtual user hours (VUh)
- Test frequency and duration
- Number of load zones
- Data retention period
Check grafana.com/pricing for current pricing details and free tier limits.
Migration from k6 OSS
Migrating from open-source k6 to Grafana Cloud k6 is straightforward:Best practices
Start with local development
Start with local development
Develop and debug your tests locally before running them in the cloud to save costs and iterate faster.
Use appropriate load zones
Use appropriate load zones
Select load zones close to your users or infrastructure for realistic results.
Monitor VU hours
Monitor VU hours
Track your VU hour consumption to optimize test duration and frequency.
Leverage thresholds
Leverage thresholds
Set thresholds to automatically fail tests that don’t meet performance criteria:
Documentation
For comprehensive Grafana Cloud k6 documentation, visit: grafana.com/docs/grafana-cloud/testing/k6Related resources
Distributed tests
Running tests across multiple machines
Automated testing
CI/CD integration guide
Results output
Understanding and exporting results
k6 Studio
Visual test creation tool