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

Collapse Feature Error in Lens Metrics on Kibana 8.13.3 #182628

Open
Tracked by #174147
behnam-ramouzeh opened this issue May 4, 2024 · 2 comments
Open
Tracked by #174147

Collapse Feature Error in Lens Metrics on Kibana 8.13.3 #182628

behnam-ramouzeh opened this issue May 4, 2024 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens regression Team:Visualizations Visualization editors, elastic-charts and infrastructure vis:metric Team Visualization: issue related to Metric chart
Projects

Comments

@behnam-ramouzeh
Copy link

Kibana version: 8.13.3

Elasticsearch version: 8.13.3

Server OS version: Windows 11

Describe the bug:
After upgrading from Kibana version 8.6.1 to 8.13.3, the collapse feature in Lens metrics returns an error when there is no data available. The error message displayed is "C.current[0] is undefined." This issue did not occur in the previous version.

Steps to reproduce:

  • Open Kibana and navigate to Lens metrics.
  • Configure a visualization with the collapse feature set to 'Sum'.
  • Select a time frame where no data is available.

Expected behavior:
The visualization should handle the absence of data gracefully without throwing an error, similar to the behavior in version 8.6.1.

Screenshots:
image

image

image

@behnam-ramouzeh behnam-ramouzeh added the bug Fixes for quality problems that affect the customer experience label May 4, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label May 4, 2024
@dej611 dej611 added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels May 6, 2024
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 6, 2024
@kibanamachine kibanamachine added this to Long-term goals in Lens May 6, 2024
@markov00
Copy link
Member

markov00 commented May 7, 2024

Thank you for this, is definitely a regression coming from #168651. I can reproduce it locally.

@markov00 markov00 added the vis:metric Team Visualization: issue related to Metric chart label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens regression Team:Visualizations Visualization editors, elastic-charts and infrastructure vis:metric Team Visualization: issue related to Metric chart
Projects
No open projects
Lens
  
Long-term goals
Development

No branches or pull requests

4 participants