Skip to content

[Metrics UI] Loading saved views in Metrics Explorer results in 2 requests #72489

@simianhacker

Description

@simianhacker

Kibana version:

7.9-BC1

Elasticsearch version:

7.9-BC1

Original install method (e.g. download page, yum, from source, etc.):

Cloud

Describe the bug:

When loading a saved view on the Metrics Explorer, there are two requests sent, one for the previous view and one for the new view. If the previous view takes longer to load than the new view. This creates a race condition where if the first request finished after the second request, the page is left in an unexpected state.

Steps to reproduce:

  1. Open Metrics Explorer
  2. Open dev console and select network traffic view
  3. Delete all the metrics, add system.network.in.bytes to metrics bar
  4. Change aggregation to Rate
  5. Change "graph per" to host.name, system.network.name
  6. Save current view as "Network Interfaces"
  7. Load "Default view"
  8. You should see two requests. If the first request takes longer then the second request the page will look like the screen shot below

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Metrics UIMetrics UI featureTeam:Infra Monitoring UI - DEPRECATEDDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_servicesbugFixes for quality problems that affect the customer experiencev7.9.0

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions