From c8957d7b925fa8687738d3af616c3a51d3f188d5 Mon Sep 17 00:00:00 2001 From: mavinash Date: Tue, 7 Jan 2025 17:10:18 +0530 Subject: [PATCH] fix: Query syntax --- entity-types/media_streaming-video/golden_metrics.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entity-types/media_streaming-video/golden_metrics.yml b/entity-types/media_streaming-video/golden_metrics.yml index c52ae3441..ab24b4709 100644 --- a/entity-types/media_streaming-video/golden_metrics.yml +++ b/entity-types/media_streaming-video/golden_metrics.yml @@ -45,17 +45,17 @@ adStartFailures: title: Ad Start Failures unit: PERCENTAGE query: - select: (filter(count(*) WHERE actionName = 'AD_ERROR' and adPlayhead = 0 ) * 100) / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_START' and adPlayhead = 0) + select: (filter(count(*), WHERE actionName = 'AD_ERROR' and adPlayhead = 0 ) * 100) / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_START' and adPlayhead = 0) from: VideoErrorAction videoPlaybackFailures: title: Video Playback Failures unit: PERCENTAGE query: - select: count(*) WHERE actionName = 'CONTENT_ERROR' and contentPlayhead > 0 * 100 / (FROM VideoAction SELECT count(*) WHERE actionName = 'CONENT_REQUEST') + select: count(*) * 100 / (FROM VideoAction SELECT count(*) WHERE actionName = 'CONENT_REQUEST') WHERE actionName = 'CONTENT_ERROR' and contentPlayhead > 0 from: VideoErrorAction adPlaybackFailures: title: Ad Playback Failures unit: PERCENTAGE query: - select: count(*) WHERE actionName = 'AD_ERROR' and adPlayhead > 0 * 100 / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_REQUEST') + select: count(*) * 100 / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_REQUEST') WHERE actionName = 'AD_ERROR' and adPlayhead > 0 from: VideoErrorAction