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

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024

Комментарии • 36

  • @DorianC
    @DorianC 6 месяцев назад +17

    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])))

  • @rossbrunson5122
    @rossbrunson5122 5 месяцев назад +9

    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!

  • @tanmaymishra92
    @tanmaymishra92 23 дня назад +1

    Awesome, huge fan of prometheus (still a beginner) , the simple architecture and the kind of services it can provide, too good

  • @ankita8199
    @ankita8199 Месяц назад +1

    Thankyou for such an awesome and crisp explanation. Please make more videos areound promql and grafana

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

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

  • @BiffTheBanana
    @BiffTheBanana 8 месяцев назад +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  8 месяцев назад

      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.

  • @anujsinghsomvanshi3385
    @anujsinghsomvanshi3385 4 месяца назад +2

    it's really helpful for me.👏

  • @um4r_arf
    @um4r_arf 7 месяцев назад +2

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

  • @solomanter
    @solomanter 9 месяцев назад +2

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

  • @andreachomiak4180
    @andreachomiak4180 4 месяца назад

    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  4 месяца назад

      Saw your email and replied there :)

  • @QuantPhilosopher89
    @QuantPhilosopher89 5 месяцев назад +1

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

  • @arknexter
    @arknexter 10 месяцев назад +1

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

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

    Wonderfull vid! thanks for the tutorial

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

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

  • @miguelperezpal
    @miguelperezpal 3 месяца назад +1

    The gauge one helped me a lot :D thank you.

  • @AshishKumar-qi5gk
    @AshishKumar-qi5gk 2 месяца назад +1

    Simple and concise. Great video once again.

  • @22pac4ever
    @22pac4ever 11 месяцев назад +2

    Great job, very helpful!

  • @ThinkScienceCanada
    @ThinkScienceCanada 3 месяца назад +1

    amazing video!!! please continue!!!

  • @malathifirequeen4481
    @malathifirequeen4481 10 месяцев назад

    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

  • @priyankareddy4582
    @priyankareddy4582 9 месяцев назад

    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 ?

  • @NamLe-fl4sz
    @NamLe-fl4sz 8 месяцев назад +1

    From VietNam. Thanks

  • @naimishkumarsahu3711
    @naimishkumarsahu3711 10 месяцев назад

    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

  • @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.

  • @AshishGupta-jn1dq
    @AshishGupta-jn1dq 4 месяца назад

    How to add DB connections dashboard?

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

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

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

    How do you not blink in the into?

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

    Fantastic video. Thank you!

  • @darkfury3914
    @darkfury3914 7 месяцев назад

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

  • @harshbachhav257
    @harshbachhav257 10 месяцев назад +1

    very very helpful ty ty
    sir

  • @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.

  • @caramingo37
    @caramingo37 7 месяцев назад

    thank you, really useful.

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

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