K6Resource.WithK6OtlpEnvironment

Method
📦 CommunityToolkit.Aspire.Hosting.k6 v13.6.1
type K6Resource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: