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/app | |
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/app')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts index 8d9c08ab3..9ae6f9f12 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts | |||
@@ -628,6 +628,8 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
628 | : null, | 628 | : null, |
629 | authorizationHeader: this.authService.getRequestHeaderValue(), | 629 | authorizationHeader: this.authService.getRequestHeaderValue(), |
630 | 630 | ||
631 | metricsUrl: environment.apiUrl + '/api/v1/metrics/playback', | ||
632 | |||
631 | embedUrl: video.embedUrl, | 633 | embedUrl: video.embedUrl, |
632 | embedTitle: video.name, | 634 | embedTitle: video.name, |
633 | instanceName: this.serverConfig.instance.name, | 635 | instanceName: this.serverConfig.instance.name, |