aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-14 14:57:59 +0200
committerChocobozzz <me@florianbigard.com>2018-09-14 14:57:59 +0200
commit4b5384f6e7be62d072d21d8d964951ba572ab10e (patch)
tree64dbd0c55096435ef804988c4750f717ad140633 /shared
parentcfc16a6db88378f83fa3a501170fa0fc5e7d6636 (diff)
downloadPeerTube-4b5384f6e7be62d072d21d8d964951ba572ab10e.tar.gz
PeerTube-4b5384f6e7be62d072d21d8d964951ba572ab10e.tar.zst
PeerTube-4b5384f6e7be62d072d21d8d964951ba572ab10e.zip
Add redundancy stats
Diffstat (limited to 'shared')
-rw-r--r--shared/models/server/server-stats.model.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/server/server-stats.model.ts b/shared/models/server/server-stats.model.ts
index 5c1bf3468..a6bd2d4d3 100644
--- a/shared/models/server/server-stats.model.ts
+++ b/shared/models/server/server-stats.model.ts
@@ -1,3 +1,5 @@
1import { VideoRedundancyStrategy } from '../redundancy'
2
1export interface ServerStats { 3export interface ServerStats {
2 totalUsers: number 4 totalUsers: number
3 totalLocalVideos: number 5 totalLocalVideos: number
@@ -9,4 +11,12 @@ export interface ServerStats {
9 11
10 totalInstanceFollowers: number 12 totalInstanceFollowers: number
11 totalInstanceFollowing: number 13 totalInstanceFollowing: number
14
15 videosRedundancy: {
16 strategy: VideoRedundancyStrategy
17 totalSize: number
18 totalUsed: number
19 totalVideoFiles: number
20 totalVideos: number
21 }[]
12} 22}