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

Re-size widget to fit large metric values in ES|QL #194240

Open
IanLee1521 opened this issue Sep 27, 2024 · 6 comments
Open

Re-size widget to fit large metric values in ES|QL #194240

IanLee1521 opened this issue Sep 27, 2024 · 6 comments
Labels
discuss enhancement New value added to drive a business result Feature:Discover Discover Application Feature:ES|QL ES|QL related features in Kibana Feature:Lens Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:ESQL ES|QL related features in Kibana Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@IanLee1521
Copy link

Kibana version:

8.15.1

Elasticsearch version:
8.15.1

Describe the bug:

When I do an ES|QL query that returns a single metric value in Discover, if the number is too long, it will roll off the view. It would be nice if this metric widget / visualization would resize to fit a larger number.

Steps to reproduce:

  1. Go into Discover on an Elastic cluster with many documents
  2. Run an ES|QL query such as from logs-* | stats COUNT()
  3. Observer the number doesn't fit in the metrics box.

Screenshots (if relevant):

Image

@IanLee1521 IanLee1521 added the bug Fixes for quality problems that affect the customer experience label Sep 27, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 27, 2024
@dmlemeshko dmlemeshko added the Team:ESQL ES|QL related features in Kibana label Sep 30, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-esql (Team:ESQL)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 30, 2024
@stratoula
Copy link
Contributor

@IanLee1521 we have changed it in 8.16 and now it is as big as it gets

Image

This solves the problem of the values not fitting but there are ongoing discussions if I am not mistaken for improving this even better. @markov00 @gvnmagni keep me honest here.

I will keep it open but remove the bug label as the visibility of the numeric fields has been improved.

@stratoula stratoula added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens and removed bug Fixes for quality problems that affect the customer experience labels Sep 30, 2024
@elasticmachine
Copy link
Contributor

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

@stratoula stratoula added discuss Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Sep 30, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@stratoula stratoula added the Feature:ES|QL ES|QL related features in Kibana label Sep 30, 2024
@gvnmagni
Copy link

Confirm, the conversation is ongoing and the preferred solution would be to resize the entire panel according to the values displayed

@IanLee1521
Copy link
Author

Thanks all appreciate it and expect that will indeed help us out (curse our O(100s Billions) of documents!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss enhancement New value added to drive a business result Feature:Discover Discover Application Feature:ES|QL ES|QL related features in Kibana Feature:Lens Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:ESQL ES|QL related features in Kibana Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

6 participants