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

Cannot add Data Links #27

Open
curvaton opened this issue Aug 28, 2024 · 4 comments
Open

Cannot add Data Links #27

curvaton opened this issue Aug 28, 2024 · 4 comments

Comments

@curvaton
Copy link

Hello,

Thanks for your plugin !

I am currently replacing the Angular Traffic Lights plugin in our dashboards by yours. I am able to display the data I want, the way I want, from an OpenSearch Data Source:
Capture d’écran 2024-08-28 à 18 11 15

I would like to add data links to redirect to another dashboard.

When I click on the "Add link" button I get this formular
Capture d’écran 2024-08-28 à 18 12 56
But when I click on "Save" I get this error:
Capture d’écran 2024-08-28 à 18 14 15

I am running the dockerised Grafana 11.1.4 version.

I gave an example data link I would like to create but what I am looking for is to have a link for each traffic light that a viewer could click on to be redirected to a specific dashboard depending on the value of the data which is displayed.

Thanks for your help !

@jackw
Copy link
Owner

jackw commented Aug 30, 2024

@curvaton thanks for raising this.

I tried to reproduce your issue locally and I cannot. The feature isn't custom to my panel, it's part of the Grafana codebase. You can find the docs here.

As for the error - could you pass me the panel JSON and panel data please? They can be accessed by clicking inspect in the panel menu. If I have those I might have a better chance of reproducing the issue.

image

@curvaton
Copy link
Author

curvaton commented Sep 4, 2024

Hello,

Thanks for the investigation. Since this happens in a production environment, to give the panel json and panel data I have to prepare some mock data and reproduce in a local environment and then send it to you. I'll try to do this as fast as I can.

Thanks again.

@curvaton
Copy link
Author

Hello,

I could finally spend some time to produce mock data for reproducing the issue. I could reproduce it running in a local docker-compose environment with an opensearch datasource and grafana services (version 11.1.4).

Here are the data and panels in json format as requested.

data.json
panel.json

Hope this helps.

@jackw
Copy link
Owner

jackw commented Sep 30, 2024

Here are the data and panels in json format as requested.

Thanks for taking the time @curvaton. I'll try and repro it and get back to you soon.

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

2 participants