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

[Lens] Field list - use variable_width_histogram in field stats endpoint #74275

Closed
wylieconlon opened this issue Aug 4, 2020 · 2 comments
Closed
Labels
Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure technical debt Improvement of the software architecture and operational architecture

Comments

@wylieconlon
Copy link
Contributor

Currently the field stats endpoint, which is used when clicking on a field on the left side of Lens, makes two sequential requests for number fields. The second request depends on the min/max numeric values, and the histogram bucketing is determined based on this. Instead, we could use the new variable-width histogram to do this in a single request.

There are two changes needed here:

  1. Change the server side of Lens to make 1 request instead of 2
  2. Change the chart rendering in the field stats popover to handle variable-width bars, most likely by using an area chart with a stepped fitting function instead of a bar chart. Bar charts can't handle variable-width bars.
@wylieconlon wylieconlon added good first issue low hanging fruit technical debt Improvement of the software architecture and operational architecture Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Aug 4, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@flash1293 flash1293 removed the good first issue low hanging fruit label Jun 17, 2021
@ghudgins ghudgins changed the title [Lens] Use new variable-width histogram in field stats endpoint [Lens] Field list - use variable_width_histogram in field stats endpoint Sep 14, 2021
@stratoula stratoula added the impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. label Jun 2, 2023
@stratoula
Copy link
Contributor

Thank you for contributing to this issue, however, we are closing this issue due to inactivity as part of a backlog grooming effort. If you believe this feature/bug should still be considered, please reopen with a comment.

@stratoula stratoula closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure technical debt Improvement of the software architecture and operational architecture
Projects
None yet
Development

No branches or pull requests

4 participants