867
}
868
869
>
emitStateTransitionCount(c.metricsHandler, shardContext.GetClusterMetadata(), c.MutableState)
context.go
870
>
emitStateTransitionCount(c.metricsHandler, shardContext.GetClusterMetadata(), newMutableState)
871
>
872
>
// finally emit session stats
873
>
emitWorkflowHistoryStats(
874
>
c.metricsHandler,
875
>
c.GetNamespace(shardContext),
876
>
c.MutableState.GetExecutionState().State,
877
>
int(c.MutableState.GetExecutionInfo().ExecutionStats.HistorySize),
878
>
int(c.MutableState.GetNextEventID()-1),
879
>
)
880
>
881
>
return nil
882
}
883