Sign inSign up

osnijunior/k6-statsd

By osnijunior

•Updated 4 months ago

Using Golang and Alpine, this image contain the build for K6 with the StatsD output

Image
Developer tools
Monitoring & observability
1

2.3K

osnijunior/k6-statsd repository overview

⁠K6 with StatsD

K6 no longer natively supports StatsD as the default output for sending metrics. Therefore, it must be used via OpenTelemetry.

This image builds the xk6 package and adds the extension that allows you to send metrics to StatsD.

Documentation: https://grafana.com/docs/k6/latest/results-output/real-time/statsd/#build-the-k6-version⁠

⁠Applying on TestRun

apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
  name: my-test
spec:
  parallelism: 1
  cleanup: 'post'
  script:
    configMap:
      name: 'test'
  arguments: --out output-statsd # With this image, is possible to you set this to output metrics
  runner:
    image: osnijunior/k6-statsd:latest # Custom image of K6 with extension
    env:
      - name: K6_STATSD_ADDR
        value: datadog.datadog.svc.cluster.local:8125 # Change this, if your service had other name
      - name: K6_STATSD_ENABLE_TAGS
        value: "true"

⁠Tag version

  • 1.0.5 and less:
k6 v1.3.0 (go1.25.1, linux/amd64)
Extensions:
  github.com/LeonAdato/xk6-output-statsd v0.2.1, output-statsd [output]
  • 1.0.6/latest:
k6 v1.7.1 (go1.25.4, linux/amd64)
Extensions:
  github.com/LeonAdato/xk6-output-statsd v0.2.3, output-statsd [output]

Tag summary

Content type

Image

Digest

sha256:cb3f97455…

Size

20.8 MB

Last updated

4 months ago

docker pull osnijunior/k6-statsd