Master: Renovate: Automerge Update dependency without new findings
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
grafana/k6 | ironbank-github | minor |
v0.44.1 -> v0.45.0
|
grafana/k6 | minor |
v0.44.1 -> v0.45.0
|
Release Notes
grafana/k6
v0.45.0
k6 v0.45.0 is here
- Experimental gRPC streaming support.
- Update scripts in the cloud without running tests.
- JS Metadata API.
- A lot of internal changes and bugfixes.
Breaking changes
- #3066 k6 will warn users about metric names incompatible with OpenTelemetry or Prometheus. This is planned to become an error with v0.48.0.
- browser#851 Remove existing browser namespaced metrics. These have been deprecated in favor of Web Vitals metrics.
New features
#3107
Experimental gRPC module with streaming supportThere is a new experimental module k6/experimental/grpc
. It is a copy of the k6/net/grpc
module with added stream support #2020.
Expand to see an example of the new functionality.
This example shows server streaming:
import { Client, Stream } from 'k6/experimental/grpc';
import { sleep } from 'k6';
const COORD_FACTOR = 1e7;
// to run this sample, you need to start the grpc server first.
// to start the grpc server, run the following command in k6 repository's root:
// go run -mod=mod examples/grpc_server/*.go
// (golang should be installed)
const GRPC_ADDR = __ENV.GRPC_ADDR || '127.0.0.1:10000';
const GRPC_MROTO_PATH = __ENV.GRPC_MROTO_PATH ||