Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

v0.0.5

Choose a tag to compare

@codebien codebien released this 10 Nov 11:27
· 120 commits to main since this release

What's Changed

  • Moved to AGPLv3 license in #50
  • Config changes in #48
  • Removed the prometheus/prometheus library 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_PERIOD has been renamed to K6_PROMETHEUS_PUSH_INTERVAL to align with the same name used by timescaledb, influxdb and statsd outputs.
  • K6_PROMETHEUS_USER has been renamed to K6_PROMETHEUS_USERNAME to align with the same name used by influxdb output.
  • CACert option has been removed, use the common SSL_CERT_FILE and SSL_CERT_DIR environment variables if overriding the system's default locations is needed.
  • KeepTags, KeepNameTag, KeepUrlTag options 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.
  • Mapping option 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