k6
k6 copied to clipboard
native gRPC failed invocations rate metric
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
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!
I would expect feature parity between http and grpc metrics. It would also be used for setting up native instead of custom thresholds.