func NewMetricClient(client matchingservice.MatchingServiceClient, metricsClient metrics.Client) matchingservice.MatchingServiceClient {
	return &metricClient{
		client:        client,
		metricsClient: metricsClient,
	}
}
NewMetricClient creates a new instance of matchingservice.MatchingServiceClient that emits metrics
package matching
import (
	"context"
	"strings"
	taskqueuepb "go.temporal.io/api/taskqueue/v1"
	"google.golang.org/grpc"
	"go.temporal.io/server/api/matchingservice/v1"
	"go.temporal.io/server/common/metrics"
)
var _ matchingservice.MatchingServiceClient = (*metricClient)(nil)
type metricClient struct {
	client        matchingservice.MatchingServiceClient
	metricsClient metrics.Client
}