You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I encountered no_data status when using alert.
However, after some time of debugging, I found no bug in the code, and when locally debuging the plugin with local grafana and local clickhouse, alert worked so good. But when I use the local grafana with remote clickhouse, It alwasy show no_data, which is confusing :(
Cause
The backend code use HTTP to send query. And if you turn-on the basic auth and doesn't set a password for it(even though it doesn't have), you will receive 400 status code, haveing an empty body, printing no useful message to resolve. :(
Solution
If you are useing the user default without a password
please turn-off the baic auth!
or the better way:
create a viewer account in clickhouse with password, and use this role with grafana.
The text was updated successfully, but these errors were encountered:
First of all, thanks for your great work!
Phenomenon
Recently, I encountered no_data status when using alert.
However, after some time of debugging, I found no bug in the code, and when locally debuging the plugin with local grafana and local clickhouse, alert worked so good. But when I use the local grafana with remote clickhouse, It alwasy show no_data, which is confusing :(
Cause
The backend code use HTTP to send query. And if you turn-on the
basic auth
and doesn't set a password for it(even though it doesn't have), you will receive 400 status code, haveing an empty body, printing no useful message to resolve. :(Solution
If you are useing the user
default
without a passwordplease turn-off the
baic auth
!or the better way:
create a viewer account in clickhouse with password, and use this role with grafana.
The text was updated successfully, but these errors were encountered: