aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/metrics/playback-metric-create.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-07-20 12:06:39 +0200
committerChocobozzz <me@florianbigard.com>2023-07-20 12:06:39 +0200
commit305facdfab1d5029366d2262ac390b9c71752e4b (patch)
tree799f7e5686d0ac0b9ff63a06e686d6f1093168bc /shared/models/metrics/playback-metric-create.model.ts
parent4e5da193d0ef69f7fc0ee1e7eb14f03de4d7a938 (diff)
downloadPeerTube-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.ts3
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