k6
k6 copied to clipboard
Metrics for GRPC streams do not correctly include tags when stream ends.
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
- Create a grpc stream, with custom tags
- Close the stream on the server
- Observe the
grpc_req_durationmetric 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.