From c6867725fb8e3dfbc2018a37ed5a963103587cb6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 21 Jul 2023 11:42:52 +0200 Subject: Add p2p info to metrics --- support/doc/api/openapi.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'support') diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 2dfad9987..90aaebd26 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -9528,6 +9528,11 @@ components: fps: type: number description: Current player video fps + p2pEnabled: + type: boolean + p2pPeers: + type: number + description: P2P peers connected (doesn't include WebSeed peers) resolutionChanges: type: number description: How many resolution changes occured since the last metric creation @@ -9555,6 +9560,7 @@ components: - downloadedBytesP2P - downloadedBytesHTTP - uploadedBytesP2P + - p2pEnabled - videoId RunnerRegistrationToken: -- cgit v1.2.3