2020-01-10 03:11:28 -06:00
|
|
|
import { VideoRedundancyStrategyWithManual } from '../redundancy'
|
2018-02-28 11:04:46 -06:00
|
|
|
export interface ServerStats {
|
|
|
|
totalUsers: number
|
2020-05-07 03:39:09 -05:00
|
|
|
totalDailyActiveUsers: number
|
|
|
|
totalWeeklyActiveUsers: number
|
|
|
|
totalMonthlyActiveUsers: number
|
|
|
|
|
2018-02-28 11:04:46 -06:00
|
|
|
totalLocalVideos: number
|
|
|
|
totalLocalVideoViews: number
|
|
|
|
totalLocalVideoComments: number
|
2019-01-15 02:45:54 -06:00
|
|
|
totalLocalVideoFilesSize: number
|
2018-02-28 11:04:46 -06:00
|
|
|
|
|
|
|
totalVideos: number
|
|
|
|
totalVideoComments: number
|
|
|
|
|
|
|
|
totalInstanceFollowers: number
|
|
|
|
totalInstanceFollowing: number
|
2018-09-14 07:57:59 -05:00
|
|
|
|
2020-01-10 03:11:28 -06:00
|
|
|
videosRedundancy: VideosRedundancyStats[]
|
2020-12-15 06:34:58 -06:00
|
|
|
|
|
|
|
totalActivityPubMessagesProcessed: number
|
2021-02-26 03:28:11 -06:00
|
|
|
totalActivityPubMessagesSuccesses: number
|
|
|
|
totalActivityPubMessagesErrors: number
|
|
|
|
|
|
|
|
totalActivityPubCreateMessagesSuccesses: number
|
|
|
|
totalActivityPubUpdateMessagesSuccesses: number
|
|
|
|
totalActivityPubDeleteMessagesSuccesses: number
|
|
|
|
totalActivityPubFollowMessagesSuccesses: number
|
|
|
|
totalActivityPubAcceptMessagesSuccesses: number
|
|
|
|
totalActivityPubRejectMessagesSuccesses: number
|
|
|
|
totalActivityPubAnnounceMessagesSuccesses: number
|
|
|
|
totalActivityPubUndoMessagesSuccesses: number
|
|
|
|
totalActivityPubLikeMessagesSuccesses: number
|
|
|
|
totalActivityPubDislikeMessagesSuccesses: number
|
|
|
|
totalActivityPubFlagMessagesSuccesses: number
|
|
|
|
totalActivityPubViewMessagesSuccesses: number
|
|
|
|
|
|
|
|
totalActivityPubCreateMessagesErrors: number
|
|
|
|
totalActivityPubUpdateMessagesErrors: number
|
|
|
|
totalActivityPubDeleteMessagesErrors: number
|
|
|
|
totalActivityPubFollowMessagesErrors: number
|
|
|
|
totalActivityPubAcceptMessagesErrors: number
|
|
|
|
totalActivityPubRejectMessagesErrors: number
|
|
|
|
totalActivityPubAnnounceMessagesErrors: number
|
|
|
|
totalActivityPubUndoMessagesErrors: number
|
|
|
|
totalActivityPubLikeMessagesErrors: number
|
|
|
|
totalActivityPubDislikeMessagesErrors: number
|
|
|
|
totalActivityPubFlagMessagesErrors: number
|
|
|
|
totalActivityPubViewMessagesErrors: number
|
|
|
|
|
2020-12-15 06:34:58 -06:00
|
|
|
activityPubMessagesProcessedPerSecond: number
|
|
|
|
totalActivityPubMessagesWaiting: number
|
2020-01-10 03:11:28 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface VideosRedundancyStats {
|
|
|
|
strategy: VideoRedundancyStrategyWithManual
|
|
|
|
totalSize: number
|
|
|
|
totalUsed: number
|
|
|
|
totalVideoFiles: number
|
|
|
|
totalVideos: number
|
2018-02-28 11:04:46 -06:00
|
|
|
}
|