K6Resource.WithK6OtlpEnvironment
Method
type K6Resource interface { // ... omitted for brevity WithK6OtlpEnvironment() K6Resource}Signature
method
WithK6OtlpEnvironment builderSet 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() K6ResourceReturns
K6Resource The I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: