CommunityToolkit.Aspire.Hosting.k6
📦 CommunityToolkit.Aspire.Hosting.k6 v13.4.0 3 Functions
1 Types
1 types and 1 members
Types
Functions
method
addK6 builder Adds a Grafana k6 container resource to the application model. The default image is and the tag is .
addK6(name: string, enableBrowserExtensions?: boolean, port?: number): K6Resource method
withK6OtlpEnvironment builder Set K6 environment variables from the existing OTEL environment set for this resource. See https://grafana.com/docs/k6/latest/results-output/real-time/opentelemetry/#configuration.
withK6OtlpEnvironment(): K6Resource method
withScript builder Runs a k6 JS script when starting the Grafana k6 container resource.
withScript(scriptPath: string, virtualUsers?: number, duration?: string): K6Resource