k6 icon indicating copy to clipboard operation
k6 copied to clipboard

native gRPC failed invocations rate metric

Open murlock1000 opened this issue 1 year ago • 2 comments

Feature Description

Implement native metric for the rate of failed gRPC invocations, similar to http_req_failed.

Suggested Solution (optional)

Rate calculated as follows:

response = client.invoke()
grpc_req_failed.add(response.status === grpc.StatusOK);

Already existing or connected issues / PRs (optional)

No response

murlock1000 avatar Jul 05 '23 09:07 murlock1000

Hi @murlock1000 !

Sorry for the slow response :cry:

Could you please describe the use case? I'm trying to understand better why you want to see the native metric instead of using the custom one. Thanks!

olegbespalov avatar Aug 22 '23 12:08 olegbespalov

I would expect feature parity between http and grpc metrics. It would also be used for setting up native instead of custom thresholds.

murlock1000 avatar Aug 27 '23 13:08 murlock1000