How to Setup a Grafana Dashboard Step-by-Step | Grafana Tutorial for Beginners

In this video we show you how to install Grafana and create dashboards step-by-step.
Grafana is an open source platform that is used for data monitoring, analysis, and data visualization.
One of the major features of Grafana is it's ability to bring several different data sources together on a single dashboard.
Grafana allows you to represent data in different forms like, charts, graphs, and also allows you to send alerts.
Apart from that, it supports many OS's including Ubuntu and Windows. It also supports multiple data sources.
This video shows you how to download and install Grafana for Ubuntu 20.04.
- Below are the commands you can run in order to download and install Grafana for Ubuntu 20.04.
wget -q -O - packages.grafana.com/gpg.key | sudo apt-key add -
sudo add-apt-repository "deb packages.grafana.com/enterpri... stable main"
sudo apt update
sudo apt install grafana
sudo systemctl start grafana-server
sudo systemctl status grafana-server
sudo systemctl enable grafana-server
- Download and installation commands for influxDB for Ubuntu 20.04
wget qO repos.influxdata.com/influxdb... | sudo apt-key add -
source /etc/lsb-release
echo "deb repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt-get update && sudo apt-get install influxdb
sudo systemctl unmask influxdb.service
sudo systemctl start influxdb
influxd -config /etc/influxdb/influxdb.conf
This video also shows you an example of how you can add data sources and attach them to Grafana.
- Below is the code which you can use for your python file.
import pandas as pd
from influxdb import InfluxDBClient
client= InfluxDBClient (host= "localhost",port=8086)
client.switch_database("corona19")
df=pd.read_csv("countries.csv.1")
df.dropna(inplace=True)
print (df.shape)
for rwo_pk, row in df.iloc[1:].iterrows():
json_body=[{
"measurement": "CovidMap",
"tags": {"country":row[0]},
"fields": {
"name":row[0],
"country":row[1],
"latitude":row[2],
"longitude":row[3],
"metric":row[4],
}
}]
client.write_points(json_body)
print("done")
-------------------------------------------------------------------------------------------------------------------------
To get more of our best content on IT careers and IT certifications, go to:
Be sure to leave any questions or comments below!
See More Videos and Subscribe: / skillsbuildtraining
Website:
Facebook: / skillsbuildtraining
Twitter: / skillsbuildt

Пікірлер: 51

  • @Turge
    @Turge Жыл бұрын

    What is grafana 0:22 Why grafana 1:00 why we need continuous monitoring 1:17 why we choose grafana instead over tools 2:00 grafana is supported in all kind of systems 2:15 installing and configuring grafana 4:11 making a new database inside infux 6:56 activating database 7:40

  • @SkillsBuildTraining

    @SkillsBuildTraining

    Жыл бұрын

    Thank you @Turge 😉

  • @GayathriKatta-sw7hp
    @GayathriKatta-sw7hp2 ай бұрын

    which type of grafana are you using ? open source or the cloud or the enterprise stack?

  • @phandc4581
    @phandc45813 жыл бұрын

    When I chose the coordinates filed from Field Mapping property, the map didn't draw circles corresponding to each country. How can I do to display it?

  • @SkillsBuildTraining

    @SkillsBuildTraining

    2 жыл бұрын

    Hi PhanDC, That's a great question for the Grafana Community: community.grafana.com/

  • @g.s.r.6232
    @g.s.r.6232 Жыл бұрын

    Thanks for the explain to understanding of grafana working

  • @SkillsBuildTraining

    @SkillsBuildTraining

    Жыл бұрын

    Happy to help G. S.R.

  • @hussamcheema
    @hussamcheema Жыл бұрын

    hi. off topic question: Which audio mic and software are you using to create this tutorial?

  • @alpachino468

    @alpachino468

    Жыл бұрын

    Microsoft Paint

  • @saict1149
    @saict11492 жыл бұрын

    Thanks a lot bhaia

  • @SkillsBuildTraining

    @SkillsBuildTraining

    2 жыл бұрын

    You're welcome Md Suruj.

  • @christopherhorton9198
    @christopherhorton9198 Жыл бұрын

    Sorry, perhaps it's just me but I think your beginners tutorial is a bit too complicated. I was kind of expecting you to use a very simple database like Sql Server or MySql and use one of the built in plugins.

  • @saict1149
    @saict11492 жыл бұрын

    thanks a lot.

  • @SkillsBuildTraining

    @SkillsBuildTraining

    2 жыл бұрын

    Most welcome Md Suruj!

  • @Turge
    @Turge Жыл бұрын

    such an amazing video, thanks sir

  • @SkillsBuildTraining

    @SkillsBuildTraining

    Жыл бұрын

    Glad you liked it!

  • @Aymenadhami
    @Aymenadhami Жыл бұрын

    Visualization shows nothing on the new version of Grafana

  • @kingsathurthi
    @kingsathurthi2 жыл бұрын

    wonderful video to understand grafana

  • @SkillsBuildTraining

    @SkillsBuildTraining

    2 жыл бұрын

    Thanks King.

  • @luisco21
    @luisco215 ай бұрын

    This turned into an InfluxDB tutorial with a little Grafana sprinkled in

  • @SkillsBuildTraining

    @SkillsBuildTraining

    4 ай бұрын

    Thanks for your comment.

  • @vikasgupta1828
    @vikasgupta18289 ай бұрын

    Thanks.

  • @SkillsBuildTraining

    @SkillsBuildTraining

    9 ай бұрын

    You're welcome

  • @samukarbrj
    @samukarbrj3 жыл бұрын

    hello i cant run this with grafana and ifnfluxdb in docker can you help? Traceback (most recent call last): File "map.py", line 2, in from influxdb import InfluxDBClient ModuleNotFoundError: No module named 'influxdb'

  • @SkillsBuildTraining

    @SkillsBuildTraining

    2 жыл бұрын

    Hi Samuka, That would be a great question for the Grafana Community: community.grafana.com/

  • @KanagaveluSugumar
    @KanagaveluSugumar2 жыл бұрын

    You took more time explaining influx db and data preparation instead of Grafana :( What will i get looking at your python code?

  • @SkillsBuildTraining

    @SkillsBuildTraining

    2 жыл бұрын

    Thanks for that feedback Kanagavelu.

  • @juanhaver6584

    @juanhaver6584

    Жыл бұрын

    I thought it was helpful, it gives a concrete example from start to finish, that is exactly what I was looking for, there are zillions of videos which show off features of grafana.

  • @dhananjayadn6742
    @dhananjayadn67422 жыл бұрын

    You guys copied from edureka grafana tutorial? Or they copied yours? Both tutorial explain same and same resource they used.

  • @SkillsBuildTraining

    @SkillsBuildTraining

    2 жыл бұрын

    Thanks for your comment Dhananjaya.

  • @Ed_00
    @Ed_003 жыл бұрын

    do you have any tutorial for windows?

  • @SkillsBuildTraining

    @SkillsBuildTraining

    3 жыл бұрын

    Hi Ed, Could you expand on that question a bit more?

  • @debasishchakraborty7526

    @debasishchakraborty7526

    3 жыл бұрын

    @@SkillsBuildTraining I think Ed meant that as you have here shown how to do it in Linux, if you have any tutorial on how to do it in Windows.

  • @SkillsBuildTraining

    @SkillsBuildTraining

    3 жыл бұрын

    @@debasishchakraborty7526 Thanks for clarifying. We'll have to create a new video for that. We'll add it to the list.

  • @debasishchakraborty7526

    @debasishchakraborty7526

    3 жыл бұрын

    @@SkillsBuildTraining You may probably mention about installing 'Influxdb' with 'pip'. Otherwise the python code won't work as it will throw exception that 'no module named influxdb'. For anyone who needs, install 'influxdb' for python by 'pip install influxdb' (you may need to install 'pip' if you don't have it already).

  • @SkillsBuildTraining

    @SkillsBuildTraining

    3 жыл бұрын

    @@debasishchakraborty7526 Awesome. Thanks for that feedback!

  • @alexanderbock7460
    @alexanderbock74602 жыл бұрын

    This is complete outdated, influxdb switched to 2.x and things became more wired. Clicking buttons is easy, but editing queries by hand which are not working from this query editor is another thing!

  • @SkillsBuildTraining

    @SkillsBuildTraining

    2 жыл бұрын

    Thanks for your feedback Alexander.

  • @umerkha
    @umerkha3 жыл бұрын

    We can achieve all of this using Kibana as well, right? So what's the point of using Grafana then?

  • @SkillsBuildTraining

    @SkillsBuildTraining

    3 жыл бұрын

    Hi Umer, Ideally you'd choose the tool that's best for your specific circumstances. Hope that helps.

  • @fishfighter2

    @fishfighter2

    3 жыл бұрын

    Because we want to?

  • @brianthird4173

    @brianthird4173

    3 жыл бұрын

    I believe Grafana is more open to different sources and Kibana is meant to be used with Elastic Stack

  • @glenneff3930
    @glenneff3930 Жыл бұрын

    DO NOT run pip as root.

  • @joshuarmost
    @joshuarmost2 ай бұрын

    What kind of psychopath names their database corona19

  • @greatwestern5521
    @greatwestern5521 Жыл бұрын

    too many ads on this video man, too many ads.

  • @SkillsBuildTraining

    @SkillsBuildTraining

    Жыл бұрын

    Thanks for the feedback.

  • @sanjaybhatikar
    @sanjaybhatikar2 ай бұрын

    Get to the point, man!

  • @meetpatel5142
    @meetpatel5142 Жыл бұрын

    👏👏👏

Келесі