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

Alert doesn't work correctly #345

Closed
tmanh17 opened this issue May 7, 2021 · 5 comments · Fixed by #399
Closed

Alert doesn't work correctly #345

tmanh17 opened this issue May 7, 2021 · 5 comments · Fixed by #399
Assignees

Comments

@tmanh17
Copy link

tmanh17 commented May 7, 2021

What happened:

Alert doesn't work correctly. It always send No Data alert

What you expected to happen:

It notify alert if it happens actually

How to reproduce it (as minimally and precisely as possible):

  1. Install vertamedia-clickhouse-datasource plugin v2.3.1
    1.1. Download the plugin https://github.com/Vertamedia/clickhouse-grafana/releases/tag/v2.3.1
    1.2. Unzip to /var/lib/grafana/plugins/
    1.3. restart grafana-server
  2. create a dashboard and panel that use ClickHouse Datasource then create an alert for this.

portfolio_view

  1. click Test rule or add a channel email for this alert

Case 1 get No Data alert although it doesn't exist
portfolio_view
Case 2 Should be an alert for high value instead of No Data notification
portfolio_view

Environment:

  • Grafana version: v7.4.2
  • Plugin version: v2.3.1
  • OS Grafana is installed on: Debian 8.5
  • User OS & Browser: Ubuntu 20.04 & Chrome
  • Others:
@Slach
Copy link
Collaborator

Slach commented May 7, 2021

Thanks for reporting, could you share alert tab screenshot in your panel or just share full panel JSON?

@Slach Slach self-assigned this May 7, 2021
@tmanh17
Copy link
Author

tmanh17 commented May 8, 2021

I tried default value and then tried to change some parameters as the following. It has the same result (both cases mentioned above)

portfolio_view

Panel JSON: panel.zip

@Slach
Copy link
Collaborator

Slach commented Jun 16, 2021

@tmanh17 did you try to SAVE whole dashboard after change in "alerts"?

@winofi
Copy link

winofi commented Jun 28, 2021

Are you using GET and your server does not support POST?

@SachChen
Copy link

SachChen commented Jul 1, 2021

I have met a same problem, from the grafana's log , i found the vertamedia-clickhouse-datasourc plugin has been restarted , it seems like that the plugin has dumped when the response of clickhouse's data is too much,just in version v2.3.1 but not only!

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

4 participants