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

WLM panels not working in default dashboard #148

Closed
vgkowski opened this issue Jun 13, 2022 · 0 comments · Fixed by #152
Closed

WLM panels not working in default dashboard #148

vgkowski opened this issue Jun 13, 2022 · 0 comments · Fixed by #152

Comments

@vgkowski
Copy link
Contributor

vgkowski commented Jun 13, 2022

The WLM panels are not working in the default dashboard. The $service_class variable is passed to Grafana without quotes resulting in a query error (when evaluating this part:
service_class = split_part(103: Default queue, ':', 1) AND

"rawSQL": "-- grafana-redshift-default-dashboard\nSELECT\n $__timeGroup(queue_end_time, $__interval),\n percentile_cont(1) WITHIN GROUP (ORDER BY total_queue_time) AS p100,\n percentile_cont(0.75) WITHIN GROUP (ORDER BY total_queue_time) AS p75,\n percentile_cont(0.50) WITHIN GROUP (ORDER BY total_queue_time) AS p50\nFROM stl_wlm_query\nWHERE\n service_class = split_part($service_class, ':', 1) AND\n $__timeFilter(queue_end_time)\nGROUP BY 1\nORDER BY 1",

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

Successfully merging a pull request may close this issue.

2 participants