mirror of https://github.com/Chocobozzz/PeerTube
34 lines
825 B
TypeScript
34 lines
825 B
TypeScript
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
|
|
}
|