You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
do not fetch metrics data right after connecting live data to an app #1003
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.
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)
Activity
vudayani commentedon Mar 14, 2023
@BoykoAlex
As you mentioned in #1002 (comment), we can remove the refresh metrics calls from here.
On the
vscode-spring-boot-dashboardextension, 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)BoykoAlex commentedon Mar 16, 2023
Thank you @vudayani-vmw !
I have removed the metrics refresh from the location referenced above: ddacce5ca0d96fc8002c543965c11ec4f503d486