Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application metrics UI addendum crashes browser #2623

Open
marksumm opened this issue Jul 17, 2020 · 4 comments
Open

Application metrics UI addendum crashes browser #2623

marksumm opened this issue Jul 17, 2020 · 4 comments

Comments

@marksumm
Copy link

marksumm commented Jul 17, 2020

I have 19 application metrics enabled for a container (they are the JVM metrics exposed by Spring Boot Actuator).

Attempting to browse to the UI page for the container in cAdvisor v0.37.0 causes a fast memory leak and browser crash. Only the "Application Metrics" title bar is visible at the bottom of the page.

This is affecting both Firefox and Chromium, and the issue is repeatable.

@marksumm
Copy link
Author

You can easily reproduce this issue by scraping application metrics from the /actuator/prometheus endpoint of an instance of pierreroudier/micrometer-prometheus (for example). Then, visit the cAdvisor UI page for the container and the usual metrics are displayed, as well as the "Application Metrics" title. However, something in the process of drawing graphs for the application metrics is exploding before any more content is rendered. Even trying to use developer tools to identify the issue is difficult, due to how quickly the browser becomes unresponsive.

@iwankgb
Copy link
Collaborator

iwankgb commented Jul 26, 2020

Is this possibly related to #2626?

@flyinprogrammer
Copy link
Contributor

This fix is here, just need someone to show up: #2627

@marksumm
Copy link
Author

marksumm commented Jul 30, 2020

I just built the latest master and unfortunately it still crashes my browser. I don't think this is a rendering issue - I'm seeing hundreds of thousands of background HTTP requests to /docker/{id}. The browser is actually running out of sockets.

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

No branches or pull requests

4 participants