CommunityToolkit.Aspire.Hosting.k6
📦 CommunityToolkit.Aspire.Hosting.k6v13.6.1Import path
apphost/modules/aspire3Functions
2Types
2 types, 3 functions and 1 members
Handles
Enums
Functions
DistributedApplicationBuilder
K6Resource
method
WithK6OtlpEnvironmentbuilderSet 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() K6Resourcemethod
WithScriptbuilderRuns a k6 JS script when starting the Grafana k6 container resource.
WithScript(scriptPath string, options ...*WithScriptOptions) K6Resource