k6
k6 copied to clipboard
Fix metrics for GRPC streams do not correctly include tags when stream ends
What?
Update the grpc stream being call to pass tags and params that include custom tags and method information
Why?
Addresses https://github.com/grafana/k6/issues/3745
Checklist
- [X] I have performed a self-review of my code.
- [X] I have added tests for my changes.
- [X] I have run linter locally (
make lint) and all checks pass. - [X] I have run tests locally (
make tests) and all tests pass. - [X] I have commented on my code, particularly in hard-to-understand areas.
Related PR(s)/Issue(s)
https://github.com/grafana/k6/issues/3745
Closes #3745
@cchamplin just double-checking if you don't have the capacity for the tests? I could take over; one thing is, could you please maybe name the case? I mean which metrics missed the custom tags? Thanks!
Pushing to https://github.com/grafana/k6/milestone/42 while waiting for news.
@olegbespalov @joanlopez I have added the test as requested, let me know if that works.
Hey @cchamplin, Could you try to address what @olegbespalov suggested, please? Once done, I think we'll be ready to merge it. Thanks! 🙇🏻