aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/server/server-stats.model.ts
blob: d17c439456c52518264b8187bc1cd1e54eb9bcff (plain) (tree)
1
2
3
4
5
6
7
8
                                                                 
 

                              



                                 


                                 
                                  





                                
 
                                           



                                               







                                             
 
import { VideoRedundancyStrategyWithManual } from '../redundancy'

export interface ServerStats {
  totalUsers: number
  totalDailyActiveUsers: number
  totalWeeklyActiveUsers: number
  totalMonthlyActiveUsers: number

  totalLocalVideos: number
  totalLocalVideoViews: number
  totalLocalVideoComments: number
  totalLocalVideoFilesSize: number

  totalVideos: number
  totalVideoComments: number

  totalInstanceFollowers: number
  totalInstanceFollowing: number

  videosRedundancy: VideosRedundancyStats[]

  totalActivityPubMessagesProcessed: number
  activityPubMessagesProcessedPerSecond: number
  totalActivityPubMessagesWaiting: number
}

export interface VideosRedundancyStats {
  strategy: VideoRedundancyStrategyWithManual
  totalSize: number
  totalUsed: number
  totalVideoFiles: number
  totalVideos: number
}