[data views] telemetry is too resource intensive, skip field loading #151248
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Data Views
Data Views code and UI - index patterns before 8.0
Feature:Kibana Management
Feature label for Data Views, Advanced Setting, Saved Object management pages
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
From #151064
Some customers have thousands of data views and thousands of fields so running telemetry can be very resource intensive. Lets skip loading fields as the primary culprit is likely json.parse which can block the main thread when parsing large json.
src/plugins/data_views/server/register_index_pattern_usage_collection.ts:85
- loads full data views even though just scripted and runtime fields are needed.x-pack/plugins/maps/server/maps_telemetry/index_pattern_stats/index_pattern_stats_collector.ts
- only needs geo fieldsThe text was updated successfully, but these errors were encountered: