-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
reusing search widget? #1201
Comments
Interesting idea, I like it. For grafana pro (ie backend) I have this strange idea where you can push scripted dashboard that constantly run on the server (a couple of times per day) that spew out dashboards with names and tags that are then saved and are fully indexed and searchable. But I like your idea of having widgets for that can generate links to scripted dashboards based on keys that exists in graphite. would be a mix of the templated dashboard/variables provide but for generating links to scripted dashboards |
to give credit where it's due, http://anatolijd.blogspot.com/2014/07/scripting-grafana-dashboards.html introduced the concept of querying graphite for values, from code within scripted dashboards. But I thought it would be useful to be able to use the search widget to easily narrow down some of those values. (see also the comments there) |
This issue seems the same as #1229. This is not really the search widget that should be reused but the template bar widget which allows to select a value from a list of possible values or from the name of the metrics. |
no #1229 is about changing the dashboard definition when you change the value of a variable. |
actually i think you're right, #1229 is basically the same thing, but approached from the different angle |
What would be awesome is to have a pub-sub model. Say you could create Channels in a dashboard. Then, a widget (or parts of a widget) could publish or subscribe to a channel. For example, a widget with a target picker could publish the target to a channel and then, many queries could subscribe to the channel and then retrieve stuff for that target :) |
+1 |
closing this for now, as the dashboard search is an integral component to the grafana chrome and not part of the dashboard , search widget mentioned in issue could be created as a panel |
Grafana has this great feature where you can dynamically generate dashboards using "scripted dashboards". it supports looking at url args so you can specify parameters in the url,
let's say a you specify a servername in the url, to generate a dashboard of that server by expanding the servername into your graphite target strings.
it would be nice if we didn't depend on getting such input via url args though. i would like to build, for example, a page that has a search/filter widget (very similar to the "open dashboard" widget), but populated with all my servernames, so i can select a servername from it and then build the dashboard for that server. If grafana somehow lets me make a page where i can reuse the search widget, then i can populate it by querying graphite/influxdb for all known values of a certain expression
The text was updated successfully, but these errors were encountered: