anryko / grafana-influx-dashboard

Grafana InfluxDB scripted dashboard
MIT License
132 stars 44 forks source link

[Request] Integrate multiple host selection. #59

Closed smeapng closed 8 years ago

smeapng commented 8 years ago

Hello,

Is it possible to integrate into the script the ability to choose multiple server? To enable comparison servers. A similar method to the template grafana.

Thank you for your reply.

Cordially.

anryko commented 8 years ago

Hi smeapng, Thanks for the inspiration to do that :)

Now regex and list hostname queries are supported. So something like this is possible:

http://localhost:3000/dashboard/script/getdash.js?host=vagrant-ubuntu-precise-64,vagrant-ubuntu-precise-01&span=6
http://localhost:3000/dashboard/script/getdash.js?host=vagrant-ubuntu-precise-(01|64)&span=6
http://localhost:3000/dashboard/script/getdash.js?host=vagrant-ubuntu-precise-0*&span=6
smeapng commented 8 years ago

Hi anryko,

Thank you very much, it is much more powerful now that you can have multiple host on the same dashboard.

It's really nice that you take time to my requests and whatsoever integrated as quickly.

Cordially.

PS: If in the future you took it the desire to incorporate the possibility to have multiple host on the same graph, if would be wonderful :)