vegasbrianc / docker-traefik-prometheus

A Docker Swarm Stack for monitoring Traefik with Promethues and Grafana
336 stars 109 forks source link

Support grafana dashboard for Traefik v2 #14

Open titansmc opened 4 years ago

titansmc commented 4 years ago

Hi, I see you have updated the Traefik version but Grafana dashboard is still not compatible with Traefik v2. Do you have the updated version? Thanks.

vegasbrianc commented 4 years ago

Great point @titansmc I will make the update and keep you posted

lucasMesquitaBorges commented 4 years ago

@titansmc Traefik v2 doesn't work grafana and the v1.7 wasn't loading traefik dashboard. Until the update for grafana I'm using traefik v1.7.19-alpine.

I'm still learning integrations with Docker, so I'm not able to help with this upgrade.

@vegasbrianc this repository really helped me, thank you.

vegasbrianc commented 4 years ago

Hi @titansmc @lucasMesquitaBorges I've updated the dashboard to now support 2.0. I'm still working on it but at least the dashboard is working for all the stats now.

titansmc commented 4 years ago

thanks a lot Brian!

Missatge de Brian Christner notifications@github.com del dia dt., 26 de nov. 2019 a les 9:02:

Closed #14 https://github.com/vegasbrianc/docker-traefik-prometheus/issues/14.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vegasbrianc/docker-traefik-prometheus/issues/14?email_source=notifications&email_token=AB6QAYCPYUPDTXOWZ7HAEZDQVTJZVA5CNFSM4JMYX2A2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVC54TDY#event-2830879119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6QAYCMHC7J2G3UNM6FK4LQVTJZVANCNFSM4JMYX2AQ .

--

http://www.arruixaqueplou.org http://www.terradelfoc.blogspot.com

titansmc commented 4 years ago

Hi Brian, I have added a snippet to your dashboard to allow us to select which is the input "data source" for our Prometheus instance, since yours is hardcoded.

{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "DS_Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.1.2"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "5.0.0"
    }
  ],

And another question, what is the license for this repo? I would like to see this dashboard in the Grafana store for people to download it.

Cheers.

vegasbrianc commented 4 years ago

Hi @titansmc I've updated my old Traefik dashboard on Grafana with https://grafana.com/grafana/dashboards/2870 Thanks for the tip.

I will update the dashboard to not require hard coded settings as well but I need a bit more cleanup on the different panels I think. Stay tuned

titansmc commented 4 years ago

Fantastic!!! Cheers.

On Tue, Nov 26, 2019, 22:50 Brian Christner notifications@github.com wrote:

Hi @titansmc https://github.com/titansmc I've updated my old Traefik dashboard on Grafana with https://grafana.com/grafana/dashboards/2870 Thanks for the tip.

I will update the dashboard to not require hard coded settings as well but I need a bit more cleanup on the different panels I think. Stay tuned

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vegasbrianc/docker-traefik-prometheus/issues/14?email_source=notifications&email_token=AB6QAYEYBA2KX7U3K6FJSXTQVWK4FA5CNFSM4JMYX2A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHRV6A#issuecomment-558832376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6QAYD7LEA5GB6QROQYLLDQVWK4FANCNFSM4JMYX2AQ .