k6 icon indicating copy to clipboard operation
k6 copied to clipboard

Metrics for GRPC streams do not correctly include tags when stream ends.

Open cchamplin opened this issue 1 year ago • 0 comments

Brief summary

When using GRPC streams in k6 when a stream is closed because of an error or normal execution a grpc_req_duration is emitted but it contains no information about the stream and it does not include custom tags provided when the stream was started.

k6 version

0.51.0

OS

Linux, MacOS

Docker version and image (if applicable)

No response

Steps to reproduce the problem

  1. Create a grpc stream, with custom tags
  2. Close the stream on the server
  3. Observe the grpc_req_duration metric does not include the url or method name, and does not include custom tags.

Expected behaviour

Custom tags and the method name would be included in the metric.

Actual behaviour

No custom tags or method name are included in the metric.

cchamplin avatar May 17 '24 03:05 cchamplin