nimarion / promcord

📊 Analyze your entire discord guild in grafana using prometheus. Message, User, Game and Voice statistics...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I use it for multiple discord server?

MrFoxyOfficial opened this issue · comments

Hello.

I would like to use this for a couple of my servers. Now, I can see it is tracking both of my servers but is it possible to set it, so on one dashboard, it tracks one server and on another one, it tracks a different one?

Also, instead of reading server ID, could it be possible, to have it be named? Like instead of showing 18 numbers, it would show server name? Same for the users.

Yes promcord supports multible servers per default. You should be able to select them in the dropdown menu in grafana.
Currently it is not possible to link the ids to the real user or server names because grafana does not support it :/

Hi Marion. 

Thank you for the answer. Do you maybe know, if it is possible to lock one server per dashboard?

So in this case, if I'm in 2 servers, I would potentially have 2 dashboards and I don't want others to see the other server.

Like Team A shouldn't be able to see Team B server and stats.

You could replace guild with the id of the server in every query or create a variable in the dashboard settings so you can better reuse it.
This article might help a bit https://blog.timescale.com/blog/grafana-variables-101/
image

Lovely. Cheers for a quick response :D