Skip to content
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

Templated dashboards #7

Closed
Tenzer opened this issue Jun 25, 2015 · 2 comments
Closed

Templated dashboards #7

Tenzer opened this issue Jun 25, 2015 · 2 comments

Comments

@Tenzer
Copy link
Collaborator

Tenzer commented Jun 25, 2015

We have one dashboard which show general metrics for each server collected with collectd. It is set up as a templated dashboard where we pick the name of the server we want to get the metrics for. Having an ability to specify a value for a templated dashboard would allow us to use this dashboard for all servers and specify that ie. want metrics for the "nginx" server.

I assume it would have to be specified as a key=value pair, since there may be multiple values for a templated dashboard.

@stephenyeargin
Copy link
Owner

Interesting. Do you have any ideas on how you would want to interact with the robot for those?

@Tenzer
Copy link
Collaborator Author

Tenzer commented Jun 25, 2015

I guess being able to add key=value somewhere after the dashboard name would work. The parsing of parameters could however become a bit cumbersome.
Perhaps it would be easier to extend if everything following the slug:pid is splitted be spaces and then tested against if it contains an equals sign? If not, then the first one is assigned to the from variable and the second to to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants