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

[Solution discussion] May "fix" alert related problems #385

Closed
oliverdding opened this issue Nov 23, 2021 · 1 comment · Fixed by #399
Closed

[Solution discussion] May "fix" alert related problems #385

oliverdding opened this issue Nov 23, 2021 · 1 comment · Fixed by #399

Comments

@oliverdding
Copy link

oliverdding commented Nov 23, 2021

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 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.

@Slach
Copy link
Collaborator

Slach commented Nov 23, 2021

thanks a lot for share your experience

@Slach Slach mentioned this issue Dec 21, 2021
Slach added a commit to Altinity/grafana-plugin-repository that referenced this issue Dec 22, 2021
# 2.4.1 (2021-12-20)

## Enhancements:
* update dependencies, try to fix critical nodejs dependencies issues

## Fixes:
* fix unnecessary warning Logging message on backend part
* fix Altinity/clickhouse-grafana#366
* fix Altinity/clickhouse-grafana#357
* fix Altinity/clickhouse-grafana#345
* fix Altinity/clickhouse-grafana#342
* fix Altinity/clickhouse-grafana#385
* fix Altinity/clickhouse-grafana#317
* fix Altinity/clickhouse-grafana#336
* fix Altinity/clickhouse-grafana#320
* fix Altinity/clickhouse-grafana#326
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

Successfully merging a pull request may close this issue.

2 participants