Grafana & Prometheus Tutorial: Create a COMPLETE Dashboard

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ • 5

  • @erangrimberg
    @erangrimberg 25 днів тому +1

    🎉🎉

  • @mohansekar-w2c
    @mohansekar-w2c 21 день тому +1

    Hi Ryan, Can you create video on this?
    scenario: Need to create separate panel for Total server , UP Servers and Down Servers
    If I click for down server it should list the ip's of down server

    • @RayanSlim087
      @RayanSlim087  21 день тому

      Hi Mohan, I did something similar to this for my organization.
      I suggest creating a table that shows the "up" / "down" status for each component (servers in your case). The table will rely on a query that checks if the metric for a particular component has a value 1. Then, use the Grafana UI to map each value of 1 to "up". If the metric suddenly shows "no data", but was 1 in the past, the query should convert the value 0 (with or vector(0)). Then using the Grafana UI, map the 0 value to "down".
      Good luck!

  • @erangrimberg
    @erangrimberg 24 дні тому

    Hi Rayan, can you please share the queries?🎉

    • @RayanSlim087
      @RayanSlim087  24 дні тому

      Sure, will post it tonight
      Edit: seems I can't post links in the comments. Message me on LinkedIn (Rayan Slim), I'll send you the JSON