-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Add Server_Name tagKey for multiple Tautulli servers #197
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@ludditus-RPI Have you tired using value mappings? I would prefer not to add this to the config file. With value mappings you can change it to whatever string you would like. |
This comment has been minimized.
This comment has been minimized.
@samwiseg0 Sorry for the late reply. I have successfully used value mappings and overrides for various dashboard queries, as well as in a custom variable: This works, but the value mapping or override needs to be repeated on every dashboard panel, which is kind of tedious. Even if grafana could do a global value mapping that worked across all panels, I don't think you would want to globally map '1' or '2' to a text value for an entire dashboard. It would be more elegant if the data from Varken included a friendly name for a server in addition to a number, which could be set in the config file. But I understand this is a bit of an edge case (with a workaround) if you'd like to close the issue. |
Glad this is working for you. Let me see if in the API calls we already make we can get the server name. I suspect we cannot. If we can then it should be a quick add. If not I would not prefer to make yet another call to tautulli just for the server name. |
Is your feature request related to a problem? Please describe.
The value stored in Influx for multiple Tautulli servers would be more useful with a server name set in the varken.ini file.
I have two Tautulli servers and have configured Varken to include both. I added a Grafana query variable to select the server(s) I want to display. The choices are '1','2' which are not as useful as a specific server name when displaying graphs or filtering information from multiple servers.
Describe the solution you'd like
Add a key/value pair to varken.ini under the Tautulli block (server_name = myuniqueserver) and write the value to influxDB as a tagKey under the Tautulli measurement.
Describe alternatives you've considered
Manually setting alias values for the 'server' tag for each panel in Grafana. This is problematic when aliasing an integer like '1' compared with aliasing a unique identifier.
Additional context
Screenshot of current variable selector for 'server'
Resulting default Grafana panel alias for 'server'
The text was updated successfully, but these errors were encountered: