Hi, is it possible to view profiler traces in the performance pane for java spring boot app running in kubernetes in docker on azure ? If yes, what do I need to setup ? All what I managed to do so far is run manual/treshold trigered profiler session.

JANOSIK, MICHAL 0 Reputation points
2023-03-27T09:07:12.7833333+00:00

Documentation about profiler says, that its not supported for java.
Screenshot from 2023-03-27 10-22-57

Picture in the java profiler section of the documentation shows the profiler traces button in the performance pane, is this correct ?Screenshot from 2023-03-27 10-42-19

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,658 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Yuvaraj Madheswaran 390 Reputation points
    2023-03-27T15:45:22.54+00:00

    https://learn.microsoft.com/en-us/azure/azure-monitor/profiler/profiler-overview

    Screenshot from 2023-03-27 10-22-57

    As per the azure documentation, java profiler is not supported

    0 comments No comments

  2. AnuragSingh-MSFT 21,551 Reputation points Moderator
    2023-04-11T05:26:11.02+00:00

    @JANOSIK, MICHAL , thank you for the question. Based on the Application Insights doc for Java Application profile, it is in preview (starting from 3.4.0.), hence not added to the following doc - Profile production applications in Azure with Application Insights Profiler.

    Note that profilers are generated on-demand or based on pre-defined triggers. It is not recommended to have profiler enabled on applications all the time, as they add to performance overhead.
    Regarding ability to view profiler data in the Application Insight's "Performance" menu - It is not possible to view/analyze the trace for now in the Azure portal. As mentioned in the doc - the profile is collected and uploaded to appInsights, from where the profile can be downloaded --> opened and analyzed within a tool of your choosing, for example JDK Mission Control (JMC).

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it, and we will help you out. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.