- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hello.
I think it is necessary to register data such as the number of active connections to the database in CloudWatch metrics using a shell script or the like.
For example, you can use a shell script to execute the SQL "show status like 'Threads_connected';" and register the value in CloudWatch metrics using "put-metric-data".
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/PublishMetrics.html#add-metrics-to-scenario
By creating an alarm for the created metrics, it is possible to notify when an abnormality occurs.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ConsoleAlarms.html
If you use RDS instead of EC2, I think most of the metrics you want to see are included in CloudWatch's standard metrics.
In some cases, it may be easier to migrate to RDS.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-metrics.html
Contenus pertinents
- demandé il y a un an
- demandé il y a 10 mois
- 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 3 ans
- AWS OFFICIELA mis à jour il y a 3 ans