code: func NewClientMetrics(p metrics.Provider) *ClientMetrics {
  	return &ClientMetrics{
  		QueriesReceived:    p.NewCounter(queriesReceived),
  		QueriesFailed:      p.NewCounter(queriesFailed),
  		QueryDuration:      p.NewHistogram(queryDuration),
  		QueryTimeouts:      p.NewCounter(queryTimeouts),
  		ExecutionsReceived: p.NewCounter(executionsReceived),
  		ExecutionsFailed:   p.NewCounter(executionsFailed),
  		ExecutionDuration:  p.NewHistogram(executionDuration),
  		ExecutionTimeouts:  p.NewCounter(executionTimeouts),
  	}
  }
docs: // NewClientMetrics builds a new instance of ClientMetrics