telemetry: service label updates (#802)

This commit is contained in:
Travis Groth 2020-05-29 15:16:22 -04:00 committed by GitHub
parent 49c323ae73
commit 6761cc7a14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 133 additions and 23 deletions

View file

@ -32,8 +32,8 @@ func (h *GRPCServerStatsHandler) TagRPC(ctx context.Context, tagInfo *grpcstats.
// NewGRPCServerStatsHandler creates a new GRPCServerStatsHandler for a pomerium service
func NewGRPCServerStatsHandler(service string) grpcstats.Handler {
return &GRPCServerStatsHandler{
service: service,
service: ServiceName(service),
Handler: &ocgrpc.ServerHandler{},
metricsHandler: metrics.NewGRPCServerMetricsHandler(service),
metricsHandler: metrics.NewGRPCServerMetricsHandler(ServiceName(service)),
}
}