From 557beff88463bdcd7498999bc5efeb9253c3b82f Mon Sep 17 00:00:00 2001 From: codebien <2103732+codebien@users.noreply.github.com> Date: Wed, 4 Oct 2023 18:41:26 +0200 Subject: [PATCH] Move Prometheus output changes to the feature section --- release notes/v0.47.0.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/release notes/v0.47.0.md b/release notes/v0.47.0.md index 1e75905e495..995ab5bf8ca 100644 --- a/release notes/v0.47.0.md +++ b/release notes/v0.47.0.md @@ -33,6 +33,11 @@ k6 is now publishig Docker images that include Chromium web browser. This allows The k6's release process now builds and pushes dedicated Docker images for ARM64. Check k6's [tags page](https://hub.docker.com/r/grafana/k6/tags) on DockerHub for details. +### New authentication methods and HTTP headers API for Prometheus remote write output + +The experimental Prometheus remote write output gets the support for two new authentication methods: Bearer token and TLS certificates. Check out the [documentation](https://k6.io/docs/results-output/real-time/prometheus-remote-write/#options) to know how to define them using the new environement variables. +It also adds `K6_PROMETHEUS_RW_HTTP_HEADERS` that defines a new and more convinent way to set custom HTTP headers to pass trhough each flush metrics' request. + ### Improved the browser module's cookie API The browser module now provides a more complete and robust API for handling cookies. We stabilized the cookie API by defining a new [`Cookie` class](https://k6.io/docs/javascript-api/k6-experimental/browser/browsercontext/cookie) ([browser#1008](https://github.com/grafana/xk6-browser/pull/1008), [browser#1030](https://github.com/grafana/xk6-browser/pull/1030)) that can be used while creating and retrieving cookies. @@ -101,7 +106,6 @@ page.evaluate(() => console.log('this is a console.log message', 42)); - [#3271](https://github.com/grafana/k6/pull/3271),[#3272](https://github.com/grafana/k6/pull/3272) Updates the golangci version and adds the `interfacebloat` linter. - [#3279](https://github.com/grafana/k6/pull/3279) Fixes the CI not publishing the SBOM file on a new release. - [#3283](https://github.com/grafana/k6/pull/3283) Updates the Go version in k6's CI used to build the binaries. -- [#3351](https://github.com/grafana/k6/pull/3351) Updates the version of Prometheus remote write output. Refer to the specific [release notes](https://github.com/grafana/xk6-output-prometheus-remote/releases/tag/v0.3.0) for more details. - [#3341](https://github.com/grafana/k6/pull/3341), [#3339](https://github.com/grafana/k6/pull/3339) Updates `goja`, includes runtime initialization speed-up and a fix for source indexes. - [#3311](https://github.com/grafana/k6/pull/3311) Updates the `alpine` image version that is used as the base of the k6 Docker image. - [browser#1043](https://github.com/grafana/xk6-browser/pull/1043), [browser#1021](https://github.com/grafana/xk6-browser/pull/1021), [browser#1019](https://github.com/grafana/xk6-browser/pull/1019), [browser#1014](https://github.com/grafana/xk6-browser/pull/1014) Fixes xk6-browser tests.