aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-15 13:34:58 +0100
committerChocobozzz <me@florianbigard.com>2020-12-15 13:34:58 +0100
commit99afa081bc6ae7f34b2105075bd43e3625434fa8 (patch)
tree0caea8591b3d3688a133cf33edcad616bf276375 /shared/models
parent48586fe070c2a59e9febb62a7f41ebb384e1d20e (diff)
downloadPeerTube-99afa081bc6ae7f34b2105075bd43e3625434fa8.tar.gz
PeerTube-99afa081bc6ae7f34b2105075bd43e3625434fa8.tar.zst
PeerTube-99afa081bc6ae7f34b2105075bd43e3625434fa8.zip
Add AP stats
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/server/server-stats.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/server/server-stats.model.ts b/shared/models/server/server-stats.model.ts
index 75d7dc554..d17c43945 100644
--- a/shared/models/server/server-stats.model.ts
+++ b/shared/models/server/server-stats.model.ts
@@ -18,6 +18,10 @@ export interface ServerStats {
18 totalInstanceFollowing: number 18 totalInstanceFollowing: number
19 19
20 videosRedundancy: VideosRedundancyStats[] 20 videosRedundancy: VideosRedundancyStats[]
21
22 totalActivityPubMessagesProcessed: number
23 activityPubMessagesProcessedPerSecond: number
24 totalActivityPubMessagesWaiting: number
21} 25}
22 26
23export interface VideosRedundancyStats { 27export interface VideosRedundancyStats {