diff options
author | alexvru <alexvru@ydb.tech> | 2023-04-14 17:02:27 +0300 |
---|---|---|
committer | alexvru <alexvru@ydb.tech> | 2023-04-14 17:02:27 +0300 |
commit | 736b3322b1251e1eeee862edb467fb3bf3ce1659 (patch) | |
tree | 4cbc43c59d5165007ebf12b12bc38789cc0ed804 /library/cpp/actors/core/mon_stats.h | |
parent | 88ed50008f008d06269417d8d9fe2fa166288d17 (diff) | |
download | ydb-736b3322b1251e1eeee862edb467fb3bf3ce1659.tar.gz |
Report stuck actors
Diffstat (limited to 'library/cpp/actors/core/mon_stats.h')
-rw-r--r-- | library/cpp/actors/core/mon_stats.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/cpp/actors/core/mon_stats.h b/library/cpp/actors/core/mon_stats.h index 5d61c9f87c..40e5f651e9 100644 --- a/library/cpp/actors/core/mon_stats.h +++ b/library/cpp/actors/core/mon_stats.h @@ -97,6 +97,7 @@ namespace NActors { TVector<ui64> ReceivedEventsByActivity; TVector<i64> ActorsAliveByActivity; // the sum should be positive, but per-thread might be negative TVector<ui64> ScheduledEventsByActivity; + TVector<ui64> StuckActorsByActivity; ui64 PoolActorRegistrations = 0; ui64 PoolDestroyedActors = 0; ui64 PoolAllocatedMailboxes = 0; @@ -111,6 +112,7 @@ namespace NActors { , ReceivedEventsByActivity(activityVecSize) , ActorsAliveByActivity(activityVecSize) , ScheduledEventsByActivity(activityVecSize) + , StuckActorsByActivity(activityVecSize) {} template <typename T> @@ -152,6 +154,7 @@ namespace NActors { AggregateOne(ReceivedEventsByActivity, other.ReceivedEventsByActivity); AggregateOne(ActorsAliveByActivity, other.ActorsAliveByActivity); AggregateOne(ScheduledEventsByActivity, other.ScheduledEventsByActivity); + AggregateOne(StuckActorsByActivity, other.StuckActorsByActivity); RelaxedStore( &PoolActorRegistrations, |