func (wh *WorkflowHandler) startRequestProfileWithDomain(ctx context.Context, scope int, d domainGetter) (metrics.Scope, metrics.Stopwatch) {
	metricsScope := getMetricsScopeWithDomain(scope, d, wh.GetMetricsClient()).Tagged(metrics.GetContextTags(ctx)...)
	sw := metricsScope.StartTimer(metrics.CadenceLatency)
	metricsScope.IncCounter(metrics.CadenceRequests)
	return metricsScope, sw
}
// startRequestProfileWithDomain initiates recording of request metrics and returns a domain tagged scope
startRequestProfileWithDomain initiates recording of request metrics and returns a domain tagged scope
// startRequestProfileWithDomain initiates recording of request metrics and returns a domain tagged scope
func (wh *WorkflowHandler) startRequestProfileWithDomain(ctx context.Context, scope int, d domainGetter) (metrics.Scope, metrics.Stopwatch) {
	metricsScope := getMetricsScopeWithDomain(scope, d, wh.GetMetricsClient()).Tagged(metrics.GetContextTags(ctx)...)
	sw := metricsScope.StartTimer(metrics.CadenceLatency)
	metricsScope.IncCounter(metrics.CadenceRequests)
	return metricsScope, sw
}
func ( wh * WorkflowHandler ) startRequestProfileWithDomain ( ctx context . Context , scope int , d domainGetter ) ( metrics . Scope , metrics . Stopwatch ) { metricsScope := getMetricsScopeWithDomain ( scope , d , wh . GetMetricsClient ( ) ) . Tagged ( metrics . GetContextTags ( ctx ) ... ) sw := metricsScope . StartTimer ( metrics . CadenceLatency ) metricsScope . IncCounter ( metrics . CadenceRequests ) return metricsScope , sw }
startRequestProfileWithDomain initiates recording of request metrics and returns a domain tagged scope
startRequestProfileWithDomain initiates recording of request metrics and returns a domain tagged scope