This repository was archived by the owner on Mar 18, 2025. It is now read-only.
v0.0.5
What's Changed
- Moved to AGPLv3 license in #50
- Config changes in #48
- Removed the
prometheus/prometheuslibrary dependency in #49 - Migrate to k6 v0.41 in #55
Full Changelog: v0.0.4...v0.0.5
Configuration
In #48 we did several changes to the configuration's options.
K6_PROMETHEUS_FLUSH_PERIODhas been renamed toK6_PROMETHEUS_PUSH_INTERVALto align with the same name used bytimescaledb,influxdbandstatsdoutputs.K6_PROMETHEUS_USERhas been renamed toK6_PROMETHEUS_USERNAMEto align with the same name used byinfluxdboutput.CACertoption has been removed, use the commonSSL_CERT_FILEandSSL_CERT_DIRenvironment variables if overriding the system's default locations is needed.KeepTags,KeepNameTag,KeepUrlTagoptions have been removed in favour of the k6's way of filtering tags by overriding the default systemTags. An advanced version will be implemented in the future and plans are tracked at #5, feel free to let know your requirements there.Mappingoption has been removed, at the moment, the Output doesn't support different mappings.
The timeout's default value for HTTP requests to the Prometheus remote write endpoint has been reduced from 1 minute to 5 seconds. If a different value is needed share more ideas at https://github.com/grafana/xk6-output-prometheus-remote/issues/52.
Usage
v0.0.5 requires k6 v0.41.0 for being sure to use the correct version it can be explicitly set in the xk6 build command:
xk6 build v0.41.0 --with github.com/grafana/xk6-output-prometheus-remote@v0.0.5