aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/server')
-rw-r--r--shared/models/server/server-stats.model.ts30
1 files changed, 29 insertions, 1 deletions
diff --git a/shared/models/server/server-stats.model.ts b/shared/models/server/server-stats.model.ts
index d17c43945..0f8cfc6cf 100644
--- a/shared/models/server/server-stats.model.ts
+++ b/shared/models/server/server-stats.model.ts
@@ -1,5 +1,4 @@
1import { VideoRedundancyStrategyWithManual } from '../redundancy' 1import { VideoRedundancyStrategyWithManual } from '../redundancy'
2
3export interface ServerStats { 2export interface ServerStats {
4 totalUsers: number 3 totalUsers: number
5 totalDailyActiveUsers: number 4 totalDailyActiveUsers: number
@@ -20,6 +19,35 @@ export interface ServerStats {
20 videosRedundancy: VideosRedundancyStats[] 19 videosRedundancy: VideosRedundancyStats[]
21 20
22 totalActivityPubMessagesProcessed: number 21 totalActivityPubMessagesProcessed: number
22 totalActivityPubMessagesSuccesses: number
23 totalActivityPubMessagesErrors: number
24
25 totalActivityPubCreateMessagesSuccesses: number
26 totalActivityPubUpdateMessagesSuccesses: number
27 totalActivityPubDeleteMessagesSuccesses: number
28 totalActivityPubFollowMessagesSuccesses: number
29 totalActivityPubAcceptMessagesSuccesses: number
30 totalActivityPubRejectMessagesSuccesses: number
31 totalActivityPubAnnounceMessagesSuccesses: number
32 totalActivityPubUndoMessagesSuccesses: number
33 totalActivityPubLikeMessagesSuccesses: number
34 totalActivityPubDislikeMessagesSuccesses: number
35 totalActivityPubFlagMessagesSuccesses: number
36 totalActivityPubViewMessagesSuccesses: number
37
38 totalActivityPubCreateMessagesErrors: number
39 totalActivityPubUpdateMessagesErrors: number
40 totalActivityPubDeleteMessagesErrors: number
41 totalActivityPubFollowMessagesErrors: number
42 totalActivityPubAcceptMessagesErrors: number
43 totalActivityPubRejectMessagesErrors: number
44 totalActivityPubAnnounceMessagesErrors: number
45 totalActivityPubUndoMessagesErrors: number
46 totalActivityPubLikeMessagesErrors: number
47 totalActivityPubDislikeMessagesErrors: number
48 totalActivityPubFlagMessagesErrors: number
49 totalActivityPubViewMessagesErrors: number
50
23 activityPubMessagesProcessedPerSecond: number 51 activityPubMessagesProcessedPerSecond: number
24 totalActivityPubMessagesWaiting: number 52 totalActivityPubMessagesWaiting: number
25} 53}