Skip to content

Conversation

@Odonno
Copy link
Contributor

@Odonno Odonno commented Mar 25, 2025

Closes #<ISSUE_NUMBER>

This PR provides a new hosting integration for Grafana k6, a load testing tool.

Link to the docker image: https://hub.docker.com/r/grafana/k6

  • Adds a new hosting integration project for k6
  • Provides AddK6 and WithScript methods to add a new k6 resource and run a k6 load testing script
    • AddK6 can be configured to use the k6 image with browser extensions (disabled by default)
    • WithScript add some defaults to bind the REST API address and some k6 properties (number of virtual users, test duration)
  • OTLP can't be currently activated as every env variable have a K6_ prefix, requires this change (feat: add ability to set prefix for OTEL environment variable dotnet/aspire#8301) to be completed and available

PR Checklist

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • PR doesn't include merge commits (always rebase on top of our main, if needed)
  • New integration
    • Docs are written
    • Added description of major feature to project description for NuGet package (4000 total character limit, so don't push entire description over that)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Contains NO breaking changes
  • Every new API (including internal ones) has full XML docs
  • Code follows all style conventions

Other information

@aaronpowell
Copy link
Member

Do you want to add yourself to the CODEOWNERS @Odonno?

@Odonno
Copy link
Contributor Author

Odonno commented Mar 27, 2025

Not really, no.

@aaronpowell aaronpowell merged commit 6821c63 into CommunityToolkit:main Apr 1, 2025
86 checks passed
@aaronpowell aaronpowell added this to the 9.4 milestone Apr 1, 2025
@Odonno Odonno deleted the feat/k6 branch April 1, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants