Page cover

⏳Grafana Cloud - Cloud Hosted Monitoring

28-10-2023

Grafana is an open-source, platform-independent data visualization and monitoring tool commonly used for tracking and analyzing metrics and time-series data. It offers a user-friendly interface to create customizable dashboards that display data from various sources, such as databases and cloud instances

Step 1

First head over to Grafana and create a free account

Once you have created an account, navigate to your home menu, select connections, and add new connection.

Select the Linux server integration

Run the Grafana agent by selecting your instance operating system and architecture

Create a name for the API token that connects to your instance and then Create token

Copy the API token and save it in a document on your computer

Update the repositories on your cloud server instance

sudo apt update -y
sudo apt upgrade -y

Copy the second command from the Grafana agent configuration tool and paste it into your Linux server terminal

Test the Agent connection and then proceed to install the integration

Step 2

add the instance hostname to the config file

copy the code and update the config file

sudo nano /etc/grafana-agent.yaml

Paste the information from the config file under integrations

Save the updated file and restart the grafana-agent

sudo systemctl restart grafana-agent.service

Test connection and once the connection the test is successful, proceed to install dashboards and alerts

On Grafana, navigate to Home > Dashboards > Integration > Linux Node and will now be able to monitor your server resources

*There you have it! You have successfully connected your cloud instance and can monitor your server resources on the prebuilt Grafana dashboards

Last updated