PeerTube/shared/models/server/server-stats.model.ts

69 lines
2.2 KiB
TypeScript
Raw Normal View History

2020-01-10 10:11:28 +01:00
import { VideoRedundancyStrategyWithManual } from '../redundancy'
2018-02-28 18:04:46 +01:00
export interface ServerStats {
totalUsers: number
2020-05-07 10:39:09 +02:00
totalDailyActiveUsers: number
totalWeeklyActiveUsers: number
totalMonthlyActiveUsers: number
2018-02-28 18:04:46 +01:00
totalLocalVideos: number
totalLocalVideoViews: number
totalLocalVideoComments: number
2019-01-15 09:45:54 +01:00
totalLocalVideoFilesSize: number
2018-02-28 18:04:46 +01:00
totalVideos: number
totalVideoComments: number
totalLocalVideoChannels: number
totalLocalDailyActiveVideoChannels: number
totalLocalWeeklyActiveVideoChannels: number
totalLocalMonthlyActiveVideoChannels: number
totalLocalPlaylists: number
2018-02-28 18:04:46 +01:00
totalInstanceFollowers: number
totalInstanceFollowing: number
2018-09-14 14:57:59 +02:00
2020-01-10 10:11:28 +01:00
videosRedundancy: VideosRedundancyStats[]
2020-12-15 13:34:58 +01:00
totalActivityPubMessagesProcessed: number
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 13:34:58 +01:00
activityPubMessagesProcessedPerSecond: number
totalActivityPubMessagesWaiting: number
2020-01-10 10:11:28 +01:00
}
export interface VideosRedundancyStats {
strategy: VideoRedundancyStrategyWithManual
totalSize: number
totalUsed: number
totalVideoFiles: number
totalVideos: number
2018-02-28 18:04:46 +01:00
}