Skip to content

Commit 9d0d613

Browse files
committed
stats: Set tags for metric
Closes #110. Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
1 parent 282b801 commit 9d0d613

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/stats/stats.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ func Report(vu modules.VU, metric *metrics.Metric, value float64) {
1111
metrics.PushIfNotDone(vu.Context(), vu.State().Samples, metrics.Sample{
1212
TimeSeries: metrics.TimeSeries{
1313
Metric: metric,
14+
Tags: vu.State().Tags.GetCurrentValues().Tags,
1415
},
1516
Time: time.Now(),
1617
Value: value,

0 commit comments

Comments
 (0)