1436
clusterMetadata cluster.Metadata,
1437
mutableState historyi.MutableState,
1439
>
if mutableState == nil {
1440
return
1441
}
1442
>
namespaceEntry := mutableState.GetNamespaceEntry()
context.go
1443
>
metrics.StateTransitionCount.With(metricsHandler).Record(
1444
>
mutableState.GetExecutionInfo().StateTransitionCount,
1445
>
metrics.NamespaceTag(namespaceEntry.Name().String()),
1446
>
metrics.NamespaceStateTag(namespaceState(clusterMetadata, new(mutableState.GetCurrentVersion()))),
1447
>
)
1448
}
1449