withK6OtlpEnvironment
Method
interface K6Resource { // ... omitted for brevity withK6OtlpEnvironment(): K6Resource;}Signature
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(): K6ResourceReturns
K6Resource Applies to
This method applies to the following types: