116
func telemetryUnaryOverrideOperationTag(fullName, operation string, req any) string {
117
if strings.HasPrefix(fullName, api.WorkflowServicePrefix) {
118
>
// GetWorkflowExecutionHistory method handles both long poll and regular calls.
telemetry.go
119
>
// Current plan is to eventually split GetWorkflowExecutionHistory into two APIs,
120
>
// remove this "if" case when that is done.
121
>
if operation == metrics.FrontendGetWorkflowExecutionHistoryScope {
122
if request, ok := req.(*workflowservice.GetWorkflowExecutionHistoryRequest); ok {
123
if request.GetWaitNewEvent() {