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
Add support for adding data links for the tree panel items #22
Comments
Thank you for bringing up the idea of adding support for data links in the tree panel. This would be a useful and natural extension to the existing functionality. The suggestion of adding an optional Node data link field name under the Interactive tree panel options seems like a practical solution. This would allow users to navigate away from the dashboard based on the link. The best way this would work is if the tree has a option to not contract when clicking on labels. #11 and #12 |
@smipi1 Would the configuration below work? |
Yes! That would be perfect! |
released in 1.4.0 |
Hi @BrightGrafana , I updated to 1.4.0. The Panel options turned out a little different, but it does exactly what I needed it to do! Highly appreciated improvement! For casual readers, there isn't any proper documentation on how to configure this yet, so I will document it here:
|
The native Grafana panels allow Data links to be configured. Adding a data link allows the user to drill through on data points, numbers and labels by clicking on them. Having support for this in the tree panel makes for a very natural and useful extension.
The mechanism for the native Grafana panels are quite elaborate and flexible, but it would be adequate to add an optional
Node data link field name
under theInteractive tree panel
options. If this field name is set, the node element text gets surrounded with an<href>
that points to what is specified.The text was updated successfully, but these errors were encountered: