TSVB field list performance issue on using annotations #83405
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:TSVB
TSVB (Time Series Visual Builder)
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: 7.10
Describe the bug: When adding an annotation datasource to TSVB, the index input is filled with
*
by default.This causes two requests to
/api/metrics/fields?index=*
which will fetch fields of all indices accessible by the current user and send them to the client. Depending on the amount and variety of indices this can be a relatively costly operation, choking the responsiveness of the Kibana server and client.This is further amplified by additional requests on each keystroke while typing in the input field
Steps to reproduce:
*
index patternExpected behavior:
I can think of two different ways to improve this:
The text was updated successfully, but these errors were encountered: