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

[Query] Hiding rows with 'undefined' values #74

Open
Natalique opened this issue Mar 27, 2019 · 5 comments
Open

[Query] Hiding rows with 'undefined' values #74

Natalique opened this issue Mar 27, 2019 · 5 comments

Comments

@Natalique
Copy link

Natalique commented Mar 27, 2019

is there a way i can define columns that if the value there is undefined the row would be hidden?

@balakrishnabk
Copy link

i also have a similar query. use multiple options for hide field. My use case is to hide rows with 0 and "undefined" cell values.

@tobi4s
Copy link

tobi4s commented Apr 1, 2019

Yes I can confirm. Same issue. I can't hide values, which are the number 0.

My workaround: Add 1 to each value (at DB query) and hide values below "threshold + 1".

@PavelvKalinin
Copy link

not everywhere you can do +0.1
Empty values are not overridden by "Null Value"

@schmurfy
Copy link

any news on this ?
I really like this plugin but I can't get rid of the undefined in my table, they don't seem to be considered as null values

@igorantolic
Copy link

SOLUTION IS HIDDEN :)
Yes THERE ARE "NEWS" -> [PavelvKalinin] gave the solution but you did not spend enough time reading
In query just add a dummy value like in example bellow: +0.001
Whatever number that does not influence the numbers significantly
Then null become +0.001 so use Hide series /Hide if value is below: 1 for example

sort_desc(
sum by (uri,status,outcome)(
(
rate (
http_server_requests_seconds_count {app=~"web-gateway", outcome="SUCCESS", uri!="/health" }
[10m]
)*60+0.001
)
)
)

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

No branches or pull requests

6 participants