Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

java profiler remote cloud microservice on kubernetes

Moderators: Vladimir Kondratyev, Anton Katilin

java profiler remote cloud microservice on kubernetes

Postby mehmet » Wed Sep 11, 2019 3:58 am

Hi,
I would like to profile a micro service running on azure kubernetes service. I am getting connection errors and can not profile. any suggestions/solutions ?

The error I get on forwarded port

$ kubectl port-forward xxx-service 10001:10001
Forwarding from 127.0.0.1:10001 -> 10001
Forwarding from [::1]:10001 -> 10001
Handling connection for 10001
0911 06:45:44.064384 46689 portforward.go:340] error creating error stream for port 10001 -> 10001: Timeout occured
mehmet
 
Posts: 1
Joined: Wed Sep 11, 2019 3:53 am

Re: java profiler remote cloud microservice on kubernetes

Postby Anton Katilin » Wed Sep 11, 2019 7:22 am

How do you enable profiling, by adding -agentpath or attaching the agent to running instance?
Please ensure the agent startup option listen=all is specified: https://www.yourkit.com/docs/java/help/ ... ptions.jsp
Anton Katilin
 
Posts: 5826
Joined: Wed Aug 11, 2004 8:37 am



Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 19 guests

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.