docker-traefik-prometheus icon indicating copy to clipboard operation
docker-traefik-prometheus copied to clipboard

Support grafana dashboard for Traefik v2

Open titansmc opened this issue 5 years ago • 7 comments

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.

titansmc avatar Nov 13 '19 10:11 titansmc

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

vegasbrianc avatar Nov 19 '19 13:11 vegasbrianc

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

lucasMesquitaBorges avatar Nov 21 '19 03:11 lucasMesquitaBorges

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.

vegasbrianc avatar Nov 26 '19 08:11 vegasbrianc

thanks a lot Brian!

Missatge de Brian Christner [email protected] 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 avatar Nov 26 '19 08:11 titansmc

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.

titansmc avatar Nov 26 '19 10:11 titansmc

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

vegasbrianc avatar Nov 26 '19 21:11 vegasbrianc

Fantastic!!! Cheers.

On Tue, Nov 26, 2019, 22:50 Brian Christner [email protected] 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 .

titansmc avatar Nov 26 '19 22:11 titansmc