Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Golden and Summary Metrics for Media Streaming Video type entity #1801

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions entity-types/media_streaming-video/golden_metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
rebufferingRatio:
title: Video Rebuffering Ratio (%)
unit: PERCENTAGE
query:
select : sum(timeSinceBufferBegin) / sum(timeSinceLastHeartbeat) - filter(sum(timeSincePaused), where actionName = 'CONTENT_RESUME' - filter(sum(timeSinceSeekBegin), where actionName = 'CONTENT_SEEK_END')) * 100
from: VideoAction
adRebufferingRatio:
title: Ad Rebuffering Ratio (%)
unit: PERCENTAGE
query:
select: sum(timeSinceAdBufferBegin) / sum(timeSinceLastAdHeartbeat) - filter(sum(timeSinceAdPaused), where actionName = 'AD_RESUME' - filter(sum(timeSinceAdSeekBegin), where actionName = 'AD_SEEK_END')) * 100
from: VideoAdAction
averageBitrate:
title: Average Bitrate
unit: BITS_PER_SECOND
query:
select: average(contentBitrate)
from: VideoAction
adAverageBitrate:
title: Ad Average Bitrate
unit: BITS_PER_SECOND
query:
select: average(adBitrate)
from: VideoAdAction
averageStartTimeS:
title: Average Start Time (s)
unit: SECONDS
query:
select: average(timeSinceRequested)
from: VideoAction
where: actionName = 'CONTENT_START'
adAverageStartTimeS:
title: Ad Average Start Time (s)
unit: SECONDS
query:
select: average(timeSinceAdRequested)
from: VideoAdAction
videoStartFailures:
title: Video Start Failures
unit: PERCENTAGE
query:
select: count(*) WHERE actionName = 'CONENT_ERROR' and contentPlayhead = 0 / (FROM VideoAction SELECT count(*) WHERE actionName = 'CONENT_START' and contentPlayhead=0) * 100
from: VideoErrorAction
adStartFailures:
title: Ad Start Failures
unit: PERCENTAGE
query:
select: count(*) WHERE actionName = 'AD_ERROR' and adPlayhead = 0 / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_START' and adPlayhead = 0) * 100
from: VideoErrorAction
videoPlaybackFailures:
title: Video Playback Failures
unit: PERCENTAGE
query:
select: count(*) WHERE actionName = 'CONTENT_ERROR' and contentPlayhead > 0 / (FROM VideoAction SELECT count(*) WHERE actionName = 'CONENT_REQUEST') * 100
from: VideoErrorAction
adPlaybackFailures:
title: Ad Playback Failures
unit: PERCENTAGE
query:
select: count(*) WHERE actionName = 'AD_ERROR' and adPlayhead > 0 / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_REQUEST') * 100
from: VideoErrorAction
40 changes: 40 additions & 0 deletions entity-types/media_streaming-video/summary_metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
rebufferingRatio:
goldenMetric: rebufferingRatio
unit: PERCENTAGE
title: Video Rebuffering Ratio (%)
adRebufferingRation:
goldenMetric: adRebufferingRatio
unit: PERCENTAGE
title: Ad Rebuffering Ratio (%)
averageBitrateMbps:
goldenMetric: averageBitrateMbps
unit: BITS_PER_SECOND
title: Average Bitrate (Mbps)
adAverageBitrateMbps:
goldenMetric: adAverageBitrateMbps
unit: BITS_PER_SECOND
title: Ad Average Bitrate (Mbps)
averageStartTimeS:
goldenMetric: averageStartTimeS
unit: SECONDS
title: Average Start Time (s)
adAverageStartTimeS:
goldenMetric: adAverageStartTimeS
unit: SECONDS
title: Ad Average Start Time (s)
videoStartFailures:
goldenMetric: videoStartFailures
unit: PERCENTAGE
title: Video Start Failures
adStartFailures:
goldenMetric: adStartFailures
unit: PERCENTAGE
title: Ad Start Failures
videoPlaybackFailures:
goldenMetric: videoPlaybackFailures
unit: PERCENTAGE
title: Video Playback Failures
adPlaybackFailures:
goldenMetric: adPlaybackFailures
unit: PERCENTAGE
title: Ad Playback Failures
Loading