Prometheus builds a monitoring system (4) --grafana connects to aws-cloudwatch

If you want to detect the CPU usage and memory usage of AWS RDS, you can use the cloudwatch that comes with AWS.

AWS permissions

As long as the service is turned on, it can be detected.
If you want to use grafana to connect to cloudwatch, you need to configure permissions
and
insert image description here
click Security credentials– access key – add key
to save the information.

Grafana connection

Add a new data source in grafana and select CloudWatch.
insert image description here
Just fill in the corresponding ID and Key.

import template

https://grafana.com/grafana/dashboards/707-aws-rds/
Import the ready-made AWS template and make some adjustments.

Guess you like

Origin blog.csdn.net/majiayu000/article/details/129695439