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

Metric vis: '0' or '?' instead of "no results found" #3682

Closed
tbragin opened this issue Apr 24, 2015 · 6 comments
Closed

Metric vis: '0' or '?' instead of "no results found" #3682

tbragin opened this issue Apr 24, 2015 · 6 comments

Comments

@tbragin
Copy link
Contributor

tbragin commented Apr 24, 2015

No data in the context of single-value widget may be a desired result. Take, for example, attached dashboard which displays data for Apache logs as a data source - lack of errors is a desired state, and ideally user would like to see "0" in that context.

This enhancement calls for this widget to display:

  • "0" for count and unique count
  • "?" for all other configurations, since they will be operating on an "unknown" quantity

screenshot_errors
screenshot_noerrors

@rashidkpc rashidkpc changed the title Single-value widget should return "0" or "?" instead of "no results found" Metric vis: '0' or '?' instead of "no results found" Apr 24, 2015
@rashidkpc rashidkpc added the good first issue low hanging fruit label Apr 24, 2015
@tbragin tbragin added the v4.4.0 label Jul 23, 2015
@tsullivan tsullivan self-assigned this Oct 9, 2015
@tsullivan
Copy link
Member

I'd be in favor of showing empty plots instead of "?" for visualization types (other than count/unique count)

@tbragin
Copy link
Contributor Author

tbragin commented Oct 9, 2015

+1 I believe that is what the linked issue suggests: #3706

@jccq
Copy link

jccq commented Oct 14, 2015

Please make an option to have ? or N/A (preferred) instead of an empty graph. I dont think they 2 are equivalent, an empty plot can be easily by one with 0 or very low values which is fundamentally different

@topikito
Copy link

👍 Just for the record, +1 here.

I have the same scenario: Wan't to track the number of errors - buf if its 0, No results found

@guybluebat
Copy link

+1 here as well

@brumlemann
Copy link

The count of an empty set is always defined and it is 0.

+1

PS An exception to this rule is of course the count of the set of all sets that do not contain themselves. That value is '?' indeed.

@tsullivan tsullivan removed the good first issue low hanging fruit label Nov 20, 2015
@tsullivan tsullivan removed their assignment Nov 20, 2015
stormpython added a commit to stormpython/kibana that referenced this issue Nov 30, 2015
… 0 or ? for empty sets where appropropriate.
stormpython added a commit to stormpython/kibana that referenced this issue Jan 11, 2016
… 0 or ? for empty sets where appropropriate.

(cherry picked from commit 39bc45f)
@tbragin tbragin added v4.5.0 and removed v4.4.0 labels Feb 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants