mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-04 03:42:49 +02:00
Fix missing/incorrect grpc labels (#804)
This commit is contained in:
parent
6761cc7a14
commit
06e3f5def5
3 changed files with 6 additions and 6 deletions
|
@ -23,10 +23,10 @@ type GRPCServerStatsHandler struct {
|
|||
// TagRPC implements grpc.stats.Handler and adds metrics and tracing metadata to the context of a given RPC
|
||||
func (h *GRPCServerStatsHandler) TagRPC(ctx context.Context, tagInfo *grpcstats.RPCTagInfo) context.Context {
|
||||
|
||||
metricCtx := h.metricsHandler.TagRPC(ctx, tagInfo)
|
||||
handledCtx := h.Handler.TagRPC(metricCtx, tagInfo)
|
||||
handledCtx := h.Handler.TagRPC(ctx, tagInfo)
|
||||
metricCtx := h.metricsHandler.TagRPC(handledCtx, tagInfo)
|
||||
|
||||
return handledCtx
|
||||
return metricCtx
|
||||
}
|
||||
|
||||
// NewGRPCServerStatsHandler creates a new GRPCServerStatsHandler for a pomerium service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue