diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-12 16:41:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-16 10:33:27 +0200 |
commit | fd3c2e87051f5029cdec39d877b576a62f48e219 (patch) | |
tree | a3c657f178702a3363af680ed8ffb7cd038243b8 /client/src/standalone | |
parent | 0e6cd1c00f71554fe7375a96db693a6983951ba6 (diff) | |
download | PeerTube-fd3c2e87051f5029cdec39d877b576a62f48e219.tar.gz PeerTube-fd3c2e87051f5029cdec39d877b576a62f48e219.tar.zst PeerTube-fd3c2e87051f5029cdec39d877b576a62f48e219.zip |
Add playback metric endpoint sent to OTEL
Diffstat (limited to 'client/src/standalone')
-rw-r--r-- | client/src/standalone/videos/shared/player-manager-options.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/standalone/videos/shared/player-manager-options.ts b/client/src/standalone/videos/shared/player-manager-options.ts index 9cebdcd10..eed821994 100644 --- a/client/src/standalone/videos/shared/player-manager-options.ts +++ b/client/src/standalone/videos/shared/player-manager-options.ts | |||
@@ -203,6 +203,7 @@ export class PlayerManagerOptions { | |||
203 | videoCaptions, | 203 | videoCaptions, |
204 | inactivityTimeout: 2500, | 204 | inactivityTimeout: 2500, |
205 | videoViewUrl: this.videoFetcher.getVideoViewsUrl(video.uuid), | 205 | videoViewUrl: this.videoFetcher.getVideoViewsUrl(video.uuid), |
206 | metricsUrl: window.location.origin + '/api/v1/metrics/playback', | ||
206 | 207 | ||
207 | videoShortUUID: video.shortUUID, | 208 | videoShortUUID: video.shortUUID, |
208 | videoUUID: video.uuid, | 209 | videoUUID: video.uuid, |