WithK6OtlpEnvironment

Method
📦 CommunityToolkit.Aspire.Hosting.k6 v13.6.1
func (K6Resource) WithK6OtlpEnvironment() K6Resource

Signature

methodWithK6OtlpEnvironmentbuilder
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
K6Resource

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: