If you could share some demo codes, we may have more clue. When we do profiling, we have this https://skywalking.apache.org/blog/2020-04-13-apache-skywalking-profiling/ You could see we could capture times of nearly all methods.
mandar alate <[email protected]>于2021年4月1日 周四下午11:46写道: > Hi Sheng, > > we are getting this dump of thread only when we profile for particular > endpoint.. it does not have the functions of our package.. we want the > exact time taken by function calls of our application classes..like how > Dynatrace and Appdynamics does > > Thanks, > Mandar > > On Thu, Apr 1, 2021 at 6:15 PM Sheng Wu <[email protected]> wrote: > >> I wonder why do you only have one dump? >> Are you choosing the Span of Spring controller to run the analysis? >> >> mandar alate <[email protected]>于2021年4月1日 周四下午8:41写道: >> >>> Please see attached snapshots.. The API is Taking more than 600ms DB >>> hardly Taking 2-3 ms.. How do we figure out where is remaining time spent? >>> The profiling Feature in skywalking Looks to be just giving stack trace and >>> not giving details as to which method is Taking how much time that can help >>> identify bottlenecks at app layer methods. >>> >>> In profiling it is just showing duration, self duration as 0 ms. >>> >>> Thanks >>> Mandar >>> >>> On Thu, 1 Apr, 2021, 3:36 PM Sheng Wu, <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> Most of today's features are focusing to diagnosis the performance in >>>> the prod. >>>> You could try custom enhance plugin to do what you wants, but >>>> eventually, you will notice, this is not practicable. >>>> SkyWalking provides profiling to measure the performance of every >>>> methods, with reasonable cost, mostly about reasonable extra latency >>>> Brandon new idea is focusing on one method performance at a time, in >>>> the runtime. >>>> Both ways are trying to get method performance. >>>> >>>> mandar alate <[email protected]>于2021年4月1日 周四下午5:59写道: >>>> >>>>> Thanks all for your response. I have dropped mail to >>>>>>> [email protected] for subscription. >>>>>>> >>>>>> >>>>> >>>>>> To be simple, our requirement is we need to instrument and get method >>>>>>> time for methods in particular package (say compute balance method in >>>>>>> some >>>>>>> xyz package). This is something we want to identify application layer >>>>>>> methods bottlenecks - essentially to see which method is taking most of >>>>>>> the >>>>>>> time from response time at application layer. And mostly this wont be >>>>>>> used >>>>>>> in production env.. this is for dev area.. so some little overhead we >>>>>>> are >>>>>>> okay with. >>>>>>> >>>>>> >>>>> >>>>>> Looking forward to hear from you. >>>>>>> >>>>>> >>>>> >>>>>> Thanks, >>>>>> >>>>>> Mandar >>>>>>> >>>>>> -- >>>> Sheng Wu 吴晟 >>>> >>>> Apache SkyWalking >>>> Apache Incubator >>>> Apache ShardingSphere, ECharts, DolphinScheduler podlings >>>> Zipkin >>>> Twitter, wusheng1108 >>>> >>> -- >> Sheng Wu 吴晟 >> >> Apache SkyWalking >> Apache Incubator >> Apache ShardingSphere, ECharts, DolphinScheduler podlings >> Zipkin >> Twitter, wusheng1108 >> > -- Sheng Wu 吴晟 Apache SkyWalking Apache Incubator Apache ShardingSphere, ECharts, DolphinScheduler podlings Zipkin Twitter, wusheng1108
