Grafana k6 JavaScript API k6/metrics Gauge Gauge.add(value, [tags])
Open source

Gauge.add(value, [tags])

Set the value of the Gauge metric.

valuenumberThe value to set the gauge to.
tagsobjectSet of tags that will be tagged to the added data point (note that tags are added per data point and not for the entire metric).

Gauge examples