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

Make Endpoint List panel respect $endpoint variables #26

Open
woodsaj opened this issue Apr 4, 2016 · 2 comments
Open

Make Endpoint List panel respect $endpoint variables #26

woodsaj opened this issue Apr 4, 2016 · 2 comments

Comments

@woodsaj
Copy link
Contributor

woodsaj commented Apr 4, 2016

Issue by mattttt
Saturday Oct 17, 2015 at 01:25 GMT
Originally opened as raintank/grafana#494


Ref: https://github.com/raintank/grafana/tree/master/public/plugins/raintank/panels/raintankEndpointList

Would like to add something into this panel that will filter the list of endpoints if an $endpoint variable exists. For example:

  • If no $endpoints exist, the entire list is be shown.
  • If endpoint_one, then display only one in the list.
  • If $endpoint_one+$endpoint_two+endpoint_three, then display three endpoints in the list.

All that said, I assume it's best to handle that in the same panel, but open to separate panels as well.

(This is one thing I'm considering for consolidating the Litmus screens into the dashboard views.)

@woodsaj
Copy link
Contributor Author

woodsaj commented Apr 4, 2016

Comment by woodsaj
Saturday Oct 17, 2015 at 16:09 GMT


Currently on tags are supported as filters when calling the endpoint list command. So we will need to extend this functionality to the other endpoint attributes (name, slug, id)

@woodsaj
Copy link
Contributor Author

woodsaj commented Apr 4, 2016

Comment by woodsaj
Saturday Oct 17, 2015 at 16:34 GMT


It should be noted, that this functionality will be pretty limited until templateVariable formatting becomes per panel. At present, the format of the variables is per dashboard (regex, glob, lucene, etc..). This means that you cant use the same template variable across panels that require a different format. Graphite queries for example require the glob format, while this panel will require a url format.

grafana/grafana#2918

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

No branches or pull requests

1 participant