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/assets/player/shared/manager-options | |
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/assets/player/shared/manager-options')
-rw-r--r-- | client/src/assets/player/shared/manager-options/manager-options-builder.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/assets/player/shared/manager-options/manager-options-builder.ts b/client/src/assets/player/shared/manager-options/manager-options-builder.ts index bc70bb12f..07678493d 100644 --- a/client/src/assets/player/shared/manager-options/manager-options-builder.ts +++ b/client/src/assets/player/shared/manager-options/manager-options-builder.ts | |||
@@ -44,6 +44,14 @@ export class ManagerOptionsBuilder { | |||
44 | 'isLive', | 44 | 'isLive', |
45 | 'videoUUID' | 45 | 'videoUUID' |
46 | ]) | 46 | ]) |
47 | }, | ||
48 | metrics: { | ||
49 | mode: this.mode, | ||
50 | |||
51 | ...pick(commonOptions, [ | ||
52 | 'metricsUrl', | ||
53 | 'videoUUID' | ||
54 | ]) | ||
47 | } | 55 | } |
48 | } | 56 | } |
49 | 57 | ||