Skip to content

Commit

Permalink
atlas cloudwatch: Fix media* metrics. (Netflix-Skunkworks#465)
Browse files Browse the repository at this point in the history
Had to reshuffle some due to tags. Also missed the mediaconnect output
group for the include.
  • Loading branch information
manolama authored Jun 8, 2023
1 parent b77af9d commit 33a095d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 21 deletions.
53 changes: 32 additions & 21 deletions atlas-cloudwatch/src/main/resources/medialive.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@ atlas {
cloudwatch {

// https://docs.aws.amazon.com/medialive/latest/ug/monitoring-eml-metrics.html
medialive-audio = {
namespace = "AWS/MediaLive"
period = 1m
end-period-offset = 3

dimensions = [
"AudioDescriptionName",
"ChannelId",
"Pipeline",
]

metrics = [
{
name = "OutputAudioLevelLkfs"
alias = "aws.medialive.outputAudioLevelLKFS"
conversion = "max"
},
]
}

medialive-global = {
namespace = "AWS/MediaLive"
period = 1m
Expand Down Expand Up @@ -79,7 +99,8 @@ atlas {

dimensions = [
"ChannelId",
"OutputGroupName"
"OutputGroupName",
"Pipeline",
]

metrics = [
Expand All @@ -89,11 +110,6 @@ atlas {
conversion = "min"
tags = []
},
{
name = "FillMsec"
alias = "aws.medialive.fillMsec"
conversion = "max"
},
{
name = "Output4xxErrors"
alias = "aws.medialive.outputError"
Expand All @@ -115,21 +131,6 @@ atlas {
value = "5xx"
}
]
},
{
name = "OutputAudioLevelLkfs"
alias = "aws.medialive.outputAudioLevelLKFS"
conversion = "min"
},
{
name = "OutputAudioLevelLkfs"
alias = "aws.medialive.outputAudioLevelLKFS"
conversion = "max"
},
{
name = "SvqTime"
alias = "aws.medialive.svqTime"
conversion = "max"
}
]
}
Expand All @@ -145,6 +146,11 @@ atlas {
]

metrics = [
{
name = "FillMsec"
alias = "aws.medialive.fillMsec"
conversion = "max"
},
{
name = "NetworkIn"
alias = "aws.medialive.networkThroughput"
Expand All @@ -171,6 +177,11 @@ atlas {
name = "PipelinesLocked"
alias = "aws.medialive.pipelineLocked"
conversion = "max"
},
{
name = "SvqTime"
alias = "aws.medialive.svqTime"
conversion = "max"
}
]
}
Expand Down
2 changes: 2 additions & 0 deletions atlas-cloudwatch/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,9 @@ atlas {
"lambda",
"lambda-fn-res",
"mediaconnect-flow",
"mediaconnect-output",
"mediaconnect-source",
"medialive-audio",
"medialive-global",
"medialive-input",
"medialive-output",
Expand Down

0 comments on commit 33a095d

Please sign in to comment.