-
Notifications
You must be signed in to change notification settings - Fork 0
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
Call tree always empty #41
Comments
Hi Daniel, you have to set |
Hi, thanks for the info!! I have added: I then tried:
Is there anything else I could check out? |
Wildcards are not allowed. Use com or better a more specific sub package.
Daniel Gray <notifications@github.com> schrieb am Mi., 24. Mai 2017 16:10:
… I have added:
stagemonitor.instrument.include=com.*
to my stagemonitor.properties file and the result is the same (no
expanding of the call tree).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACEDCJ4tm28fqYZq_Q5c2uim9GjMCxuWks5r9DpqgaJpZM4MtI_k>
.
|
Changed it to:
in all cases. |
That's strange... Could you set Also, please set a break point at You generally really don't want to instrument all com, net and org packages. It's recommended to only instrument your application like
That seems to be a sign that something is happening at least |
With the following stagemonitor.properties file:
I have the following log trace: The only
Sure, I tried that at first, but right now I'm at the point of just trying to get something to show up. Thanks for your help! |
Hey, check whether the Byte Buddy Agent is loaded correctly. That was the issue for me. |
Thank you for the idea! My configuration is still:
I added the following directive to the Run Configuration: And I'm still getting an empty call tree:
Still no call tree in the web UI either :( |
Are you using stagemonitor 0.82.0? If so, please paste the status and configurations which are logged on startup. |
Having same problem with:
|
Then please also paste the output of the status and configuration startup
logs of stagemonitor 0.82.0.
craigvphillips <notifications@github.com> schrieb am Do., 24. Aug. 2017
23:01:
… Having same problem with:
-Dstagemonitor.internal.monitoring=true -Dstagemonitor.reporting.jmx=true
-Dstagemonitor.web.widget.enabled=true -Dstagemonitor.profiler.active=true
-Dstagemonitor.instrument.include=com
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACEDCNJRuW-vS7l16VTJ_7heCoLkxRBnks5sbeS5gaJpZM4MtI_k>
.
|
Sooo, I'm a devops guy and I stuck the jars in an existing app. Stupid question time.. where does it log? |
No, I get the JAR from Maven Central. The core and JVM artifacts have version 0.82.0, but the |
Yes, its now web-servlet
Daniel Gray <notifications@github.com> schrieb am Fr., 25. Aug. 2017 09:04:
… Are you using stagemonitor 0.82.0? If so, please paste the status and
configurations which are logged on startup.
No, I get the JAR from Maven Central. The core and JVM artifacts have
version 0.82.0, but the stagemonitor-web package is still on version
0.31.0. Has that package been deprecated?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACEDCDegA18N_kosiEtnFXSVXWGhCEvIks5sbnHxgaJpZM4MtI_k>
.
|
That highly depends on your application. Stagemonitor just logs into your standard application logs. Maybe you're lucky and you have a log4j.xml under |
With StageMonitor 0.82.0 and the following config file:
And specifying the byte-buddy-agent Javaagent as follows: |
Please don't set |
OK!! It finally works! Specifying the However, I had to disable JRebel for it to work, otherwise I got this error:
And several similar errors for other classes. |
Great to hear :) Also thx for reporting the jrebel issue. I was not aware of that yet. But tbh, I don't know what causes that. |
Is it a requirement to run byte-buddy agent? |
According to what I read in the current documentation, it seems so. I tried
without and it didn't work.
…On Aug 25, 2017 20:04, "craigvphillips" ***@***.***> wrote:
Is it a requirement to run byte-buddy agent?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHFxDJApqHai1TQAeu9VSz6EXQlCL4u_ks5sbwzBgaJpZM4MtI_k>
.
|
When running on a JDK, you don't have to specify the javaagent. Only when you are using a JRE. |
I am using StageMonitor version 0.31.0, and running an app on Tomcat 8.5.
I have the following configuration:
I've been toying with the
stagemonitor.profiler.minExecutionTimeNanos
option, trying to get the call tree to show something. All I get is the following:The time was occassionally like 3000 ms but as I reduce the
stagemonitor.profiler.minExecutionTimeNanos
option all I see is this time goes up, and no entries are shown in the call tree.Am I missing something?
I have set
org.stagemonitor=DEBUG
in mylog4j.properties
file.During startup, no log entries were generated (
tail
ing andgrep
ing).During the request, I copied this part of the log file out: https://gist.github.com/thedanielgray/7dd614a8e2dcc922762f2aaa6b0c7526
The text was updated successfully, but these errors were encountered: