-
Notifications
You must be signed in to change notification settings - Fork 15
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
Create MSK Serverless scrape config #609
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
atlas { | ||
cloudwatch { | ||
|
||
// https://docs.aws.amazon.com/msk/latest/developerguide/serverless-monitoring.html | ||
msk-serverless-cluster = { | ||
namespace = "AWS/Kafka" | ||
period = 1m | ||
end-period-offset = 5 | ||
brituck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
dimensions = [ | ||
"Cluster Name", | ||
brituck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"Topic" | ||
] | ||
|
||
metrics = [ | ||
{ | ||
name = "BytesIn" | ||
alias = "aws.mskserverless.bytes" | ||
conversion = "sum,rate" | ||
tags = [ | ||
{ | ||
key = "id" | ||
value = "in" | ||
} | ||
] | ||
}, | ||
{ | ||
name = "BytesOut" | ||
alias = "aws.mskserverless.bytes" | ||
conversion = "sum,rate" | ||
tags = [ | ||
{ | ||
key = "id" | ||
value = "out" | ||
} | ||
] | ||
}, | ||
{ | ||
name = "FetchMessageConversions" | ||
alias = "aws.mskserverless.messageConversions" | ||
conversion = "sum,rate" | ||
tags = [ | ||
{ | ||
key = "id" | ||
value = "fetch" | ||
} | ||
] | ||
}, | ||
{ | ||
name = "ProduceMessageConversions" | ||
alias = "aws.mskserverless.messageConversions" | ||
conversion = "sum,rate" | ||
tags = [ | ||
{ | ||
key = "id" | ||
value = "produce" | ||
} | ||
] | ||
}, | ||
{ | ||
name = "MessagesIn" | ||
alias = "aws.mskserverless.messages" | ||
conversion = "sum,rate" | ||
tags = [ | ||
{ | ||
key = "id" | ||
value = "in" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
|
||
msk-serverless-consumergroup = { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
namespace = "AWS/Kafka" | ||
period = 1m | ||
end-period-offset = 5 | ||
|
||
dimensions = [ | ||
"Cluster Name", | ||
"Topic", | ||
"Consumer Group" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We'll need to keep an eye on cardinality here if there will be multiple groups for a large # of topics. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, add these three to the tag map in https://github.com/Netflix-Skunkworks/iep-apps/blob/main/atlas-cloudwatch/src/main/resources/reference.conf#L236 with dotted notation for Atlas please. |
||
] | ||
|
||
metrics = [ | ||
{ | ||
name = "EstimatedMaxTimeLag" | ||
alias = "aws.mskserverless.estimatedMaxTimeLag" | ||
conversion = "max" | ||
}, | ||
{ | ||
name = "MaxOffsetLag" | ||
alias = "aws.mskserverless.maxOffsetLag" | ||
conversion = "max" | ||
}, | ||
{ | ||
name = "SumOffsetLag" | ||
alias = "aws.mskserverless.sumOffsetLag" | ||
conversion = "max" | ||
} | ||
] | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add this name to https://github.com/Netflix-Skunkworks/iep-apps/blob/main/atlas-cloudwatch/src/main/resources/reference.conf#L528