Skip to content

Commit 30c2867

Browse files
authored
Fix namespace not active error metric (#2663)
1 parent bfaee75 commit 30c2867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/rpc/interceptor/telemetry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (ti *TelemetryInterceptor) handleError(
164164
case *serviceerror.InvalidArgument:
165165
scope.IncCounter(metrics.ServiceErrInvalidArgumentCounter)
166166
case *serviceerror.NamespaceNotActive:
167-
scope.IncCounter(metrics.ServiceErrInvalidArgumentCounter)
167+
scope.IncCounter(metrics.ServiceErrNamespaceNotActiveCounter)
168168
case *serviceerror.WorkflowExecutionAlreadyStarted:
169169
scope.IncCounter(metrics.ServiceErrExecutionAlreadyStartedCounter)
170170
case *serviceerror.NotFound:

0 commit comments

Comments
 (0)