Skip to content

do not fetch metrics data right after connecting live data to an app #1003

Closed

Description

@martinlippert

As mentioned in #1002 (comment), at the moment the live hover mechanics fetch the live data for certain metrics right after creating a connection to the running application - whether the metrics data is used or not.

We should change this behavior in a way that metrics data is only fetched when it is needed.

Side note: we need to double check the memory visualization in the VSCode Spring Dashboard implementation that heavily relies on the metrics data when changing this behavior.

Activity

  1. added
    for: eclipse
    for: vscode
    on Mar 13, 2023
  2. added this to the 4.18.1.RELEASE milestone on Mar 13, 2023
  3. vudayani commented on Mar 14, 2023

    @vudayani
    Collaborator

    @BoykoAlex
    As you mentioned in #1002 (comment), we can remove the refresh metrics calls from here.

    On the vscode-spring-boot-dashboard extension, we can execute the "sts/livedata/refresh/metrics" command to query for the memory metrics before trying to fetch and display it in the memory view. (microsoft/vscode-spring-boot-dashboard@868e02e)

  4. BoykoAlex commented on Mar 16, 2023

    @BoykoAlex
    Contributor

    Thank you @vudayani-vmw !
    I have removed the metrics refresh from the location referenced above: ddacce5ca0d96fc8002c543965c11ec4f503d486

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: live-datatype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions