Skip to content

Commit

Permalink
Fix namespace not active error metric (#2663)
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt committed Mar 29, 2022
1 parent bfaee75 commit 30c2867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/rpc/interceptor/telemetry.go
Expand Up @@ -164,7 +164,7 @@ func (ti *TelemetryInterceptor) handleError(
case *serviceerror.InvalidArgument:
scope.IncCounter(metrics.ServiceErrInvalidArgumentCounter)
case *serviceerror.NamespaceNotActive:
scope.IncCounter(metrics.ServiceErrInvalidArgumentCounter)
scope.IncCounter(metrics.ServiceErrNamespaceNotActiveCounter)
case *serviceerror.WorkflowExecutionAlreadyStarted:
scope.IncCounter(metrics.ServiceErrExecutionAlreadyStartedCounter)
case *serviceerror.NotFound:
Expand Down

0 comments on commit 30c2867

Please sign in to comment.