func (call *OutboundCall) createStatsTags(connectionTags map[string]string, callOptions *CallOptions, method string) {
	call.commonStatsTags = map[string]string{
		"target-service": call.callReq.Service,
	}
	for k, v := range connectionTags {
		call.commonStatsTags[k] = v
	}
	if callOptions.Format != HTTP {
		call.commonStatsTags["target-endpoint"] = string(method)
	}
}
func (call *OutboundCall) createStatsTags(connectionTags map[string]string, callOptions *CallOptions, method string) {
	call.commonStatsTags = map[string]string{
		"target-service": call.callReq.Service,
	}
	for k, v := range connectionTags {
		call.commonStatsTags[k] = v
	}
	if callOptions.Format != HTTP {
		call.commonStatsTags["target-endpoint"] = string(method)
	}
}
func ( call * OutboundCall ) createStatsTags ( connectionTags map [ string ] string , callOptions * CallOptions , method string ) { call . commonStatsTags = map [ string ] string { " " : call . callReq . Service , } for k , v := range connectionTags { call . commonStatsTags [ k ] = v } if callOptions . Format != HTTP { call . commonStatsTags [ " " ] = string ( method ) } }
// createStatsTags creates the common stats tags, if they are not already created.
createStatsTags creates the common stats tags if they are not already created .