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

Поделиться
HTML-код
  • Опубликовано: 3 июл 2024
  • 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 Год назад +8

    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

  • @g.s.r.6232
    @g.s.r.6232 Год назад +1

    Thanks for the explain to understanding of grafana working

  • @saict1149
    @saict1149 2 года назад +1

    Thanks a lot bhaia

  • @GayathriKatta-sw7hp
    @GayathriKatta-sw7hp 2 месяца назад

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

  • @kingsathurthi
    @kingsathurthi 2 года назад +1

    wonderful video to understand grafana

  • @saict1149
    @saict1149 2 года назад

    thanks a lot.

  • @christopherhorton9198
    @christopherhorton9198 Год назад +13

    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.

  • @Aymenadhami
    @Aymenadhami Год назад +1

    Visualization shows nothing on the new version of Grafana

  • @phandc4581
    @phandc4581 3 года назад +1

    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 года назад +1

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

  • @luisco21
    @luisco21 4 месяца назад +1

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

  • @vikasgupta1828
    @vikasgupta1828 9 месяцев назад +1

    Thanks.

  • @hussamcheema
    @hussamcheema Год назад +2

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

  • @Turge
    @Turge Год назад

    such an amazing video, thanks sir

  • @samukarbrj
    @samukarbrj 3 года назад +1

    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 года назад +1

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

  • @Ed_00
    @Ed_00 3 года назад +1

    do you have any tutorial for windows?

    • @SkillsBuildTraining
      @SkillsBuildTraining  3 года назад

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

    • @debasishchakraborty7526
      @debasishchakraborty7526 3 года назад +1

      @@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 года назад +2

      @@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!

  • @KanagaveluSugumar
    @KanagaveluSugumar 2 года назад +3

    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
    @dhananjayadn6742 2 года назад +2

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

  • @alexanderbock7460
    @alexanderbock7460 2 года назад +1

    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!

  • @umerkha
    @umerkha 3 года назад +1

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

    • @SkillsBuildTraining
      @SkillsBuildTraining  3 года назад +1

      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 года назад +1

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

  • @glenneff3930
    @glenneff3930 Год назад +1

    DO NOT run pip as root.

  • @greatwestern5521
    @greatwestern5521 Год назад

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

  • @meetpatel5142
    @meetpatel5142 Год назад

    👏👏👏

  • @joshuarmost
    @joshuarmost Месяц назад

    What kind of psychopath names their database corona19

  • @sanjaybhatikar
    @sanjaybhatikar 2 месяца назад

    Get to the point, man!