I have a Raspberry Pi running Docker and a number of containers. I plan on adding another Pi soon. Curious what folks are using for a dashboard to monitor performance of all your hosts and containers. I was thinking of deploying Grafana for this but am curious what others use.

  • Pengozoid@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Grafana, VictoriaMetrics (drop-in replacement for Prometheus with better storage efficiency and enhanced query language), Loki, Telegraf and Promtail for metrics and logs correspondingly.

    Example with provisioned datasources and dashboards here:

    https://gitlab.com/homelab_software/monitoring

    It’s possible to ship metrics and logs with cAdvisor and other tools.

  • HTTP_404_NotFound@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Well, I run my containers in kubernetes.

    And, it more or less includes full support for prometheus/grafana/alertmanager/etc.

    So- I use that.

    • CincyTriGuy@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I have questions about this. I’ll be getting another Pi or two and was considering putting k8s on them. Would I be able to set them up with kubernetes and then import my existing Docker containers from my current Pi to them?

      • HTTP_404_NotFound@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Yup. You can do that.

        Although- you wouldn’t “import” your existing containers. but, you can…

        1. Create manifests for your containers (Kubernetes runs the exact same docker containers). or, find helm charts for your containers.
        2. Import the storage from docker into your new PV/PVCs.

        I would, suggest learning kubernetes first though. Learning curve can be rather steep.

        Also, rancher + k3s would work perfect for your Pis.

  • Herobrine__Player@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Does overspeccing your hardware so much performance issues never come up count?

    For normal people grafana & prometheus are typical good answers.

  • sig_kill@alien.top
    cake
    B
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I really enjoy practicing with Datadog - though it gets quite expensive really quickly and is quite overkill for 6-7 hosts, many VMs, and 20ish containers.

    We use it at work, but monitoring isn’t my team’s responsibility so I try to understand how it all fits together by practicing with it at home.

    I think Datadog should have a homelabber tier (above the free 5 physical hosts) that allows people to tinker. I honestly think it would net them more customers.

    • murdaBot@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Ahhh, Datadog, the sleazy used car salesmen of the observability market. Seriously, they’re hucksters.

  • ITLevel01@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’m curious which monitoring tool is the easiest to deploy and maintain. I’m looking to deploy a monitoring solutions via docker on an existing server. I wasn’t a fan of Zabbix with their docker deployment.

    • redstonefreak589@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I second this. I just set my instance up a couple weeks ago.

      While researching, I saw many people saying that it’s very good but is hard to set up. I disagree with that to some degree; Setup itself is extremely easy, configuring it the way you want isn’t as easy BUT is wayyy more time consuming. Time consuming != hard, though. Just take time to tweak it how you want.