Skip to content

Commit

Permalink
fix: Query syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
avinash-newrelic committed Jan 7, 2025
1 parent 6b16e43 commit c8957d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entity-types/media_streaming-video/golden_metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c8957d7

Please sign in to comment.