Creating Grafana Dashboards for Prometheus | Grafana Setup & Simple Dashboard (Chart, Gauge, Table)

Поділитися
Вставка
  • Опубліковано 11 чер 2024
  • This video shows you how to use Grafana to build dashboards for Prometheus. The video explains how to download and run Grafana, how to create a Prometheus data source in Grafana, as well as how to create a dashboard with three basic panel types (time series chart, gauge, and table).
    Check my Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:
    training.promlabs.com/
    Chapters:
    00:00 Introduction
    01:08 Option A: Running Grafana Using Docker
    01:43 Option B: Running Grafana Using Pre-Built Binaries
    02:53 Logging Into Grafana
    03:07 Creating a Prometheus Data Source
    04:12 Creating a New Dashboard
    04:30 Creating a Time Series Chart
    08:28 Creating a Gauge Panel
    09:55 Creating a Table Panel
    12:13 Adding Rows to the Dashboard
    13:22 Outro & PromLabs Prometheus Trainings
    ---------------------------------------------------------------------------
    CREDITS: "Subscribe Button" by MrNumber112 • Free Download: Subscri...
  • Наука та технологія

КОМЕНТАРІ • 31

  • @rossbrunson5122
    @rossbrunson5122 Місяць тому +5

    Julius, as a long-time explainer and trainer on OSS, you're doing some seriously great work here, simply explaining things so others can have a good experience and follow along until they can fly themselves, thank you!

  • @QuantPhilosopher89
    @QuantPhilosopher89 Місяць тому +1

    Thanks for writing and open-sourcing such great software, Julius.

  • @DorianC
    @DorianC 2 місяці тому +10

    The code he pasted at 8:44 :
    sum by(instance) (rate(demo_cpu_usage_seconds_total{mode!="idle"}[5m]))
    /
    on(instance) group_left() demo_num_cpus
    10:10
    topk(3, sum by(path, method) (rate(demo_api_request_duration_seconds_count[5m])))

  • @suleymanq
    @suleymanq 5 місяців тому +2

    i can't believe this all stuff is open source, Thanks very much!

  • @viltran
    @viltran Рік тому +1

    Thank you, Julius, for sharing such a great tutorial and well explanation of how to create and modify graphs.

  • @Carlos1979Mad
    @Carlos1979Mad Місяць тому +1

    very very helpful, ty very much Sir. I will take a time in your channel to watch more staff like this :)

  • @um4r_arf
    @um4r_arf 4 місяці тому +2

    i was struggling earlier now i have a decent idea of those dash things, thanks man

  • @aanichin
    @aanichin Рік тому +2

    This was very informative and easy to follow. Thank you!

  • @arknexter
    @arknexter 6 місяців тому +1

    Thank you. This video helped me understand how to make table as I need.

  • @22pac4ever
    @22pac4ever 8 місяців тому +2

    Great job, very helpful!

  • @toolbelt
    @toolbelt Рік тому +1

    Fantastic video. Thank you!

  • @anujsinghsomvanshi3385
    @anujsinghsomvanshi3385 24 дні тому +2

    it's really helpful for me.👏

  • @raxo2007
    @raxo2007 Рік тому +1

    Thank you so much for this video, this is very helpful

  • @kisshore3853
    @kisshore3853 6 місяців тому +1

    Wonderfull vid! thanks for the tutorial

  • @caramingo37
    @caramingo37 3 місяці тому

    thank you, really useful.

  • @harshbachhav257
    @harshbachhav257 6 місяців тому +1

    very very helpful ty ty
    sir

  • @naimishkumarsahu3711
    @naimishkumarsahu3711 6 місяців тому

    Thank you so much .. this very informative
    Please can you make a video .. how we can copy a panel from existing dashboard. to another dashboard

  • @NamLe-fl4sz
    @NamLe-fl4sz 5 місяців тому +1

    From VietNam. Thanks

  • @beatricefischer484
    @beatricefischer484 Рік тому +1

    Wow, Julius, this was so helpful thank you!
    One question though, can you set up alerts in Grafana to notify you when certain thresholds are breached for any of the metrics being monitored?

    • @PromLabs
      @PromLabs  Рік тому +2

      Hi Beatrice, glad you liked it!
      Yes, that's possible in Grafana, take a look at grafana.com/docs/grafana/latest/alerting/ and grafana.com/docs/grafana/latest/alerting/fundamentals/. You can either configure "Grafana-managed rules" that can alert in a generic way on data from any data source, or "Mimir and Loki rules" that work with Mimir (a Prometheus-compatible data source) and Loki (for logs). Maybe I'll make a future video about that! Personally, I still like to configure native Prometheus alerting rules directly in Prometheus itself.

  • @priyankareddy4582
    @priyankareddy4582 6 місяців тому

    Hello, Thank you for the tutorial. It was very informative. I have one question : I want to add a column in the table which shows names of the nodes (for my blockchain network). The dashboard template I am using is Besu Overview by Grafana. How do I do it ?

  • @BiffTheBanana
    @BiffTheBanana 4 місяці тому +1

    What distro/terminal application are you running here? I've not seen one like it before, I love how it uses arrows and stuff for the paths

    • @PromLabs
      @PromLabs  4 місяці тому

      I'm using Arch Linux with xfce4-terminal and zsh as a shell. The zsh prompt theme is the popular "agnoster" theme, which creates the arrows in the prompt (and also gives visual git status indications and so on). Needs a powerline font to display correctly. Window manager is i3.

  • @malathifirequeen4481
    @malathifirequeen4481 6 місяців тому

    Hey hii
    Can you just let me know if we can create an alert for jobs..
    If the process doesn't complete on time can we create an alert which will notify the developer

  • @knightmare1144
    @knightmare1144 6 місяців тому +1

    How do you not blink in the into?

  • @andreachomiak4180
    @andreachomiak4180 Місяць тому

    Hey Julius, quick question, I'm currently pursuing the understanding-promql training in promlabs, but I'm especially curious about PromLens as an interface. I can't find any tutorial, just a live demo and some querying guidance from the understanding-promql training. Its there any material, or any sort of walkthrough the interface more than the landing page? I would like to understand how to take the most of promlens. Thank you!

    • @PromLabs
      @PromLabs  Місяць тому

      Saw your email and replied there :)

  • @AshishGupta-jn1dq
    @AshishGupta-jn1dq 11 днів тому

    How to add DB connections dashboard?

  • @manojputhiyetath9760
    @manojputhiyetath9760 Рік тому

    Hello Julius, is it possible to delete one gauge out of the 3? we have a requirement that one gauge is shows the archived logs. we need the real time log to be displayed in gauge.

    • @PromLabs
      @PromLabs  Рік тому

      Hi Manoj, it's a bit hard to tell from the level of detail in your question, but it sounds like maybe you want to expose gauges not about something that is happening inside your own program, but about log files that exist on a system somewhere? In that case, it sounds like you might want to build an exporter rather than directly instrumenting a software itself, see: prometheus.io/docs/instrumenting/writing_exporters/#writing-exporters. I also go into exporters in this training module: training.promlabs.com/training/understanding-and-building-exporters. For an exporter, you basically re-create all exported metrics from scratch every time the exporter is scraped, so each time you will only output exactly the time series that are relevant for that particular scrape and not store any state in between scrapes. If that's not quite what you're looking for, I can also recommend sending a more detailed question to the users mailing list or one of the other open community channels (see prometheus.io/community/), and I or others would be happy to help there as well.

  • @darkfury3914
    @darkfury3914 4 місяці тому

    i did everything same but metrics does not match metrics in system monitor.