Skip to content

Commit

Permalink
Rename label from rate to rating
Browse files Browse the repository at this point in the history
This matches what we already use elsewhere in the code.

Resolves: #915 (comment)
  • Loading branch information
ankur22 committed Jun 1, 2023
1 parent ad4e4f5 commit 905aa68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/frame_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func (fs *FrameSession) parseAndEmitWebVitalMetric(object string) error {
tags = tags.With("url", wv.URL)
}

tags = tags.With("rate", wv.Rating)
tags = tags.With("rating", wv.Rating)

now := time.Now()
k6metrics.PushIfNotDone(fs.ctx, state.Samples, k6metrics.ConnectedSamples{
Expand Down

0 comments on commit 905aa68

Please sign in to comment.