Monitoring with Grafana
Introduction In my previous article, I guided you through setting up cAdvisor , Prometheus and Grafana on Docker , which are widely used for system monitoring. Now that you've successfully started Grafana , follow these next steps to start using it. Using Grafana When you access the Grafana login page, use the following default credentials for your first login. You can change them later as needed. username: admin password: admin Here's how the homepage looks. First, you need to add Prometheus as a data source: 1. Go to Connections > Add new connection > select Prometheus . 2. Enter the Prometheus server URL that you defined when starting Docker Compose . Once the data source is successfully added, create a new dashboard: 1. Click on New > New dashboard > Add visualization . 2. Select Prometheus as the data source and choose a metric to use, such as ` container_memory_cache `. After saving, you can view the results on your dashboard as follows: Using Dash