- Le plus récent
- Le plus de votes
- La plupart des commentaires
You probably can use "aggregation_dimensions" to list the dimensions you want to keep. You can refer to https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html#CloudWatch-Agent-Configuration-File-Metricssection for more info.
Awesome that worked! For anyone else who is curious, here is the magic that worked for me in my main metrics json object.
"aggregation_dimensions" : [["InstanceID"], ["InstanceId","fstype","path"]]
Thanks for replying with the bits of your amazon-cloudwatch-agent.json required to get this to work.
I was able to repeat what you did to create a disk_used_percent alert for my root volume (/), but can't seem to figure out how to create a disk_used_percent alerts for an additional attached volume (mounted to /mnt/data for example.) Were you able to accomplish this? If so, do you mind posting your amazon-cloudwatch-agent.json? Thanks!
Contenus pertinents
- Réponse acceptéedemandé il y a un an
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans