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

[Bug] Displays 'null' instead of 0. #145

Open
mertbakir opened this issue Aug 17, 2020 · 5 comments
Open

[Bug] Displays 'null' instead of 0. #145

mertbakir opened this issue Aug 17, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@mertbakir
Copy link

mertbakir commented Aug 17, 2020

Describe the bug

Boomtable displays the value 0 as null and apply 'null handling'.

Screenshots
Alerts column returns [0 1 2], same query displays correctly with single stat panel.

image

Version Details:

  • Grafana version : 7.1.3
  • Plugin version : 1.4.0
  • Datasource: InfluxDB 1.8.0
@mertbakir mertbakir added the bug Something isn't working label Aug 17, 2020
@mertbakir mertbakir changed the title [Bug] Displays 0 as Null. [Bug] Displays 'null' instead of 0. Aug 17, 2020
@tom0010
Copy link

tom0010 commented Aug 21, 2020

I noticed this too, I ended up rolling back from 1.4.0 to 1.3.0.

@nvarscar
Copy link

nvarscar commented Sep 8, 2020

Any chance there is an update on this?

@nyozo
Copy link

nyozo commented Dec 4, 2020

Grafana v7.0 and Boomtable 1.4.0 combo too contain this bug. :(

@pavellad
Copy link

pavellad commented Jun 2, 2021

src/app/boom/BoomUtils.ts:188

Replace if statement content with this:

  var valResp = series.stats[statType];
  if(valResp || valResp === 0){
    value = valResp;
  } else {
    value = null;
  }

If you are not able to compile or just want to make changes on fly in docker just insert this code above by this path:
dist/app/boom/BoomUtils.js:209

@Hipska
Copy link

Hipska commented Sep 23, 2021

Should have been fixed by #109? Or maybe just introduced by that?

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

No branches or pull requests

6 participants