Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

URI Too Long error for Non-Token Aware widget #1840

Closed
martin-sucha opened this issue Jan 3, 2023 · 1 comment · Fixed by #1841
Closed

URI Too Long error for Non-Token Aware widget #1840

martin-sucha opened this issue Jan 3, 2023 · 1 comment · Fixed by #1841
Assignees
Labels
bug Something isn't working right

Comments

@martin-sucha
Copy link

martin-sucha commented Jan 3, 2023

Installation details
Panel Name: Non-Token Aware queries
Dashboard Name: Scylla CQL
Scylla-Monitoring Version: Not sure, says master. In any case, the current master (c313539) seems to be affected as well as I checked the code.
Scylla-Version: 2021

Description
We encountered a HTTP 414 URI too long error from Prometheus when rendering "Non-Token Aware queries" widget. This was because all the values for node variable were concatenated in the query. The query for the widget combines multiple metrics together, so this list was repeated multiple times. This can be fixed by specifying .* as All value for the template variable, which will make the query shorter.

All template variables should be updated to have "allValue": ".*" in their JSON definition so that Grafana does not list all the options in case "All" is selected.

@martin-sucha martin-sucha added the bug Something isn't working right label Jan 3, 2023
@martin-sucha
Copy link
Author

This was visible in Grafana as "An error occurred within the plugin"
Screenshot from 2023-01-03 09-11-38

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants