aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-07-21 11:42:52 +0200
committerChocobozzz <me@florianbigard.com>2023-07-21 11:42:52 +0200
commitc6867725fb8e3dfbc2018a37ed5a963103587cb6 (patch)
tree92e00e551c95553c6090e26a7502593e72bdcfd7 /support/doc
parentb63c607b92fd3ec62e370b73e398062bcf317738 (diff)
downloadPeerTube-c6867725fb8e3dfbc2018a37ed5a963103587cb6.tar.gz
PeerTube-c6867725fb8e3dfbc2018a37ed5a963103587cb6.tar.zst
PeerTube-c6867725fb8e3dfbc2018a37ed5a963103587cb6.zip
Add p2p info to metrics
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/api/openapi.yaml6
1 files changed, 6 insertions, 0 deletions
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:
9528 fps: 9528 fps:
9529 type: number 9529 type: number
9530 description: Current player video fps 9530 description: Current player video fps
9531 p2pEnabled:
9532 type: boolean
9533 p2pPeers:
9534 type: number
9535 description: P2P peers connected (doesn't include WebSeed peers)
9531 resolutionChanges: 9536 resolutionChanges:
9532 type: number 9537 type: number
9533 description: How many resolution changes occured since the last metric creation 9538 description: How many resolution changes occured since the last metric creation
@@ -9555,6 +9560,7 @@ components:
9555 - downloadedBytesP2P 9560 - downloadedBytesP2P
9556 - downloadedBytesHTTP 9561 - downloadedBytesHTTP
9557 - uploadedBytesP2P 9562 - uploadedBytesP2P
9563 - p2pEnabled
9558 - videoId 9564 - videoId
9559 9565
9560 RunnerRegistrationToken: 9566 RunnerRegistrationToken: