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

Is it possible to get heap usage metric of the services? #262

Open
hasannyr opened this issue Dec 12, 2023 · 2 comments
Open

Is it possible to get heap usage metric of the services? #262

hasannyr opened this issue Dec 12, 2023 · 2 comments

Comments

@hasannyr
Copy link

I change the heap limit of the web-ui service via env variable Xmx but when I watched the memory usage of the pods, this limit does not affect anything. Probably, there are many components that affect the memory usage besides heap. Can I collect the heap usage of the services? Do you export these metrics from any endpoint that I can use with Prometheus?

@SimonEismann
Copy link
Contributor

We currently don't have any built-in features to track the heap usage. So you would need to set up some sort of monitoring that collects these by setting up some existing monitoring tool that supports this or implement an endpoint in the tea store that Prometheus could scrape to get these metrics.

@hasannyr
Copy link
Author

We currently don't have any built-in features to track the heap usage. So you would need to set up some sort of monitoring that collects these by setting up some existing monitoring tool that supports this or implement an endpoint in the tea store that Prometheus could scrape to get these metrics.

Thanks for your fast reply. Is there any application parameter that I can change as an environment variable like heap limit?

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

No branches or pull requests

2 participants