elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.73k stars 8.14k forks source link

Visualisation bars not showing labels on mouse over #149042

Closed gizas closed 1 year ago

gizas commented 1 year ago

Kibana version: 8.5.0 Elasticsearch version: v8.5.0 2 zones 64 GB RAM 2.81 TB each zone

Browser version: Version 108.0.5359.124 (Official Build) (arm64)

Original install method (e.g. download page, yum, from source, etc.): Fleet Managed Agent installation with policy of K8s integration: 1.29.2 and System Integration: 1.20.4

Describe the bug: We have introduced bar visualisations in Kubernetes Integrations where the label of the bar on mouse over remains empty. Relevant issue where it was observed: https://github.com/elastic/kibana/issues/148058#issuecomment-1383916752

Steps to reproduce:

  1. Create a GKE cluster of 10000pods
  2. Install K8s Integration 1.29.2
  3. Go to Cluster Overview Dashboard

Expected behavior: The label should be present for a specific bar on mouse over and not empty. Maybe to provide a box-field where we can have custom text ? Maybe to calculate it from the field that we extract the value?

Screenshots (if relevant): Without Label: withoutlabel

We have found a workaround by adding filters-* in the optional Filter menu:

withlabel

elasticmachine commented 1 year ago

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

stratoula commented 1 year ago

I am changing this to enhancement, as the reason you see (empty) makes sense as you have nothing on the horizontal axis. We will discuss with the team how you can set this value on this case without adding a Filters dimension

markov00 commented 1 year ago

@stratoula I've discussed that with @gvnmagni and we came to the following conclusions:

stratoula commented 1 year ago

Yes I like this approach Marco. +1 by me

@gizas what do you think about it? Especially on the example above it will be self-explanatory to add this on the title. Also no need for the user to hover to understand what they are seeing.

I don't know if you have more examples that you can give us that the suggested simple solution can't give what you want, if you have please share them with us.

gizas commented 1 year ago

Maybe the example is not the most representative. I could have a title like Deployments (and yes the title should be self explanatory I agree), then I could have 3 categories of statuses, eg, Ready, Pending and Failing. So users should hover on top in order to see what each bar is showing.

And the most important thing is that the (empty) can be distructive I agree. Long story short I agree that by removing the tooltip header we are ok (if there is no subdivision(aka aggregation) on the other axis.).