Installation Of Grafana and Integrate with Prometheus.

Sumit Rasal
2 min readMay 27, 2020

--

Why we are installing the Grafana ?. The answer is we are installing the Grafana for the monitoring purpose. we can do monitoring through the Grafana. Grafana required the data for monitoring that`s why we are Integrating the Grafana with Prometheus.

Step-1
we want the program for running Grafana that`s why we are downloading the Grafana program for Linux . Use the below command .

wget https://dl.grafana.com/oss/release/grafana-7.0.1-1.x86_64.rpm 
sudo yum install grafana-7.0.1-1.x86_64.rpm

Step-2
we have to run some command for configuration.

systemctl daemon-reload
systemctl enable grafana-server

Step-3
Starting the grafana

systemctl start grafana-server 

Step-4
accessing the Grafana through the web. for this we have to know about on which port Grafana is running .
Grafana is running on the Port No — 3000

By Default user name=admin
password=admin

Integrating the Grafana with Prometheus

In the Integration we are pulling the data from Prometheus TSDB .For adding the data source we have to go to the new data source option .

Here we have lot of option for integration . we are doing the integration for Prometheus that why we are using Prometheus. Let see what is in the Prometheus

For integration we have to provide the Ip address with port number on which Prometheus is running .

Know just save the data source

Prometheus Data is save and Test

Just check the Grafana is running good with Prometheus or Not

Thanku ,
Guys for checking The article. if any query you have pleas massage me I definitely try to solve your query .
contact- https://www.linkedin.com/in/sumit-rasal-aa2867168/

--

--

Sumit Rasal
Sumit Rasal

Written by Sumit Rasal

Technology I Know — MLops | Devops | Docker | RHCSA | CEH |

No responses yet