diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-17 10:21:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-17 10:21:38 +0200 |
commit | 0b684daa3dbbe24bd3871eff46093c6aaa02e9cf (patch) | |
tree | d997cb1cea9e850e2ca918744fab52f0f5a2e86f /server/lib | |
parent | 426a8cab459dd924df50d4e27f15feba4819b859 (diff) | |
download | PeerTube-0b684daa3dbbe24bd3871eff46093c6aaa02e9cf.tar.gz PeerTube-0b684daa3dbbe24bd3871eff46093c6aaa02e9cf.tar.zst PeerTube-0b684daa3dbbe24bd3871eff46093c6aaa02e9cf.zip |
Add videoUUID to playback metrics
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/opentelemetry/metric-helpers/playback-metrics.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/lib/opentelemetry/metric-helpers/playback-metrics.ts b/server/lib/opentelemetry/metric-helpers/playback-metrics.ts index d2abdee62..9dd481838 100644 --- a/server/lib/opentelemetry/metric-helpers/playback-metrics.ts +++ b/server/lib/opentelemetry/metric-helpers/playback-metrics.ts | |||
@@ -45,7 +45,9 @@ export class PlaybackMetrics { | |||
45 | playerMode: metrics.playerMode, | 45 | playerMode: metrics.playerMode, |
46 | 46 | ||
47 | resolution: metrics.resolution + '', | 47 | resolution: metrics.resolution + '', |
48 | fps: metrics.fps + '' | 48 | fps: metrics.fps + '', |
49 | |||
50 | videoUUID: video.uuid | ||
49 | } | 51 | } |
50 | 52 | ||
51 | this.errorsCounter.add(metrics.errors, attributes) | 53 | this.errorsCounter.add(metrics.errors, attributes) |