Install Prometheus Service and Data Source in Grafana 7

Install Prometheus Service and Data Source in Grafana 7

Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=7ZEfp5uU648



Duration: 4:50
0 views
0


Documentation : https://sbcode.net/grafana/install-prometheus/

Prometheus is already available on the default Ubuntu 20.04 repositories. So we can just install it and it will be set up as a service already.

# sudo apt install prometheus

Test it by visiting http://[your domain or ip]:9090/
After installing Prometheus using apt, yum, dnf etc, it is also likely to have,
- installed a local Prometheus Node Exporter,
- created and started 2 services for Prometheus and Prometheus Node Exporter,
- created a specific user called `prometheus` that both services are running under.
The Prometheus Node Exporter also creates a metrics http endpoint on port 9100.
If your server is on the public internet, it may be accessible via the address http://[your domain or ip]:9100/

0:00 Install a Prometheus Service and Data Source
0:50 Visit the Prometheus servce in the browser
1:20 Restrict port 9090
2:00 Explain exisiting installation of Node Exporter on port 9100
2:22 Visit Node Explorer in browser
2:40 Restrict port 9100
3:18 Show 'prometheus' user
3:35 Add the Prometheus Datasource
3:55 Explore Prometheus Datasource







Tags:
grafana
grafana prometheus
grafana prometheus datasource
prometheus data source
grafana engineer