From fd3c2e87051f5029cdec39d877b576a62f48e219 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 12 Aug 2022 16:41:29 +0200 Subject: Add playback metric endpoint sent to OTEL --- client/src/standalone/videos/shared/player-manager-options.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src/standalone/videos/shared') 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 { videoCaptions, inactivityTimeout: 2500, videoViewUrl: this.videoFetcher.getVideoViewsUrl(video.uuid), + metricsUrl: window.location.origin + '/api/v1/metrics/playback', videoShortUUID: video.shortUUID, videoUUID: video.uuid, -- cgit v1.2.3