func (wh *WorkflowHandler) startRequestProfile(ctx context.Context, scope int) (metrics.Scope, metrics.Stopwatch) {
	metricsScope := wh.GetMetricsClient().Scope(scope).Tagged(metrics.DomainUnknownTag()).Tagged(metrics.GetContextTags(ctx)...)
	// timer should be emitted with the all tag
	sw := metricsScope.StartTimer(metrics.CadenceLatency)
	metricsScope.IncCounter(metrics.CadenceRequests)
	return metricsScope, sw
}
// startRequestProfile initiates recording of request metrics
startRequestProfile initiates recording of request metrics
// startRequestProfile initiates recording of request metrics
func (wh *WorkflowHandler) startRequestProfile(ctx context.Context, scope int) (metrics.Scope, metrics.Stopwatch) {
	metricsScope := wh.GetMetricsClient().Scope(scope).Tagged(metrics.DomainUnknownTag()).Tagged(metrics.GetContextTags(ctx)...)
	sw := metricsScope.StartTimer(metrics.CadenceLatency)
	metricsScope.IncCounter(metrics.CadenceRequests)
	return metricsScope, sw
}
func ( wh * WorkflowHandler ) startRequestProfile ( ctx context . Context , scope int ) ( metrics . Scope , metrics . Stopwatch ) { metricsScope := wh . GetMetricsClient ( ) . Scope ( scope ) . Tagged ( metrics . DomainUnknownTag ( ) ) . Tagged ( metrics . GetContextTags ( ctx ) ... ) sw := metricsScope . StartTimer ( metrics . CadenceLatency ) metricsScope . IncCounter ( metrics . CadenceRequests ) return metricsScope , sw }
startRequestProfile initiates recording of request metrics
startRequestProfile initiates recording of request metrics
// timer should be emitted with the all tag