-
Couldn't load subscription status.
- Fork 738
Open
Description
I'm using the prometheus middleware to measure the RPC endpoint latency for my gRPC service. I've enabled the ServerHandlingTimeHistogram.
I noticed that the grpc_code label is not included in the observed _bucket metrics (see this line of code). Consequently, I cannot effectively measure my p99 request latency for requests served successfully (e.g. where grpc_code="OK"). I'd like to set some SLOs based on percentiles of successful requests, but this middleware doesn't currently allow me to do that as far as I can tell.. Was this design choice intentional, and if so why?
Would you be open to me submitting a PR to add it?
miparnisari, yzhangyext, Tatskaari, benjibuiltit, skalmx and 1 more
Metadata
Metadata
Assignees
Labels
No labels