Skip to content

Commit

Permalink
Fix metrics for GRPC streams do not correctly include tags when strea…
Browse files Browse the repository at this point in the history
…m ends
  • Loading branch information
cchamplin committed May 17, 2024
1 parent 153e0e5 commit 9fab84e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/modules/k6/grpc/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,10 @@ func defineStream(rt *goja.Runtime, s *stream) {
}

func (s *stream) beginStream(p *callParams) error {
tags := s.vu.State().Tags.GetCurrentValues()
req := &grpcext.StreamRequest{
Method: s.method,
MethodDescriptor: s.methodDescriptor,
TagsAndMeta: &tags,
TagsAndMeta: &p.TagsAndMeta,
Metadata: p.Metadata,
}

Expand Down

0 comments on commit 9fab84e

Please sign in to comment.