diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-20 12:06:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-20 12:06:39 +0200 |
commit | 305facdfab1d5029366d2262ac390b9c71752e4b (patch) | |
tree | 799f7e5686d0ac0b9ff63a06e686d6f1093168bc /shared/models/metrics/playback-metric-create.model.ts | |
parent | 4e5da193d0ef69f7fc0ee1e7eb14f03de4d7a938 (diff) | |
download | PeerTube-305facdfab1d5029366d2262ac390b9c71752e4b.tar.gz PeerTube-305facdfab1d5029366d2262ac390b9c71752e4b.tar.zst PeerTube-305facdfab1d5029366d2262ac390b9c71752e4b.zip |
Add peers number and p2p enabled label to metrics
Diffstat (limited to 'shared/models/metrics/playback-metric-create.model.ts')
-rw-r--r-- | shared/models/metrics/playback-metric-create.model.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/metrics/playback-metric-create.model.ts b/shared/models/metrics/playback-metric-create.model.ts index 3a8f328c8..b428beeb6 100644 --- a/shared/models/metrics/playback-metric-create.model.ts +++ b/shared/models/metrics/playback-metric-create.model.ts | |||
@@ -6,6 +6,9 @@ export interface PlaybackMetricCreate { | |||
6 | resolution?: VideoResolution | 6 | resolution?: VideoResolution |
7 | fps?: number | 7 | fps?: number |
8 | 8 | ||
9 | p2pEnabled?: boolean | ||
10 | totalPeers?: number | ||
11 | |||
9 | resolutionChanges: number | 12 | resolutionChanges: number |
10 | 13 | ||
11 | errors: number | 14 | errors: number |