-
Notifications
You must be signed in to change notification settings - Fork 205
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
Add a startup profiler for debugging #2085
Conversation
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/Agent.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
This pull request introduces 1 alert when merging 84af22e into 99c14ba - view on LGTM.com new alerts:
|
Co-authored-by: Trask Stalnaker <[email protected]>
This pull request introduces 1 alert when merging 30db82c into 99c14ba - view on LGTM.com new alerts:
|
@trask should i add this https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/4933/files to disable sout in agent:agent? |
errorprone failed for sout. |
This pull request introduces 1 alert when merging b9cffda into 99c14ba - view on LGTM.com new alerts:
|
you can use |
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/StartupProfiler.java
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/Agent.java
Outdated
Show resolved
Hide resolved
agent/agent/src/main/java/com/microsoft/applicationinsights/agent/Agent.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Trask Stalnaker <[email protected]>
* Support Statsbeat in EU regions (#2082) * Use a diff statsbeat ikey in eu regions * Use lowercase * Fix spotless * Reserve statsbeat config when applicable * Make test easier to understand * Remove unused constants * Decouple TelemetryClient * Add comments * Refactor * Fix spotless * Remove assignment * Fix tests * Convert url to string * Use regex * Strict protocol * No need to escape dash * Remove escape * Add a startup profiler for debugging (#2085) * Add StartupProfiler * Fix errorprone * Fix spotless * Invoke before premain Co-authored-by: Trask Stalnaker <[email protected]> * Create dump in applicationinsights folder * Show the full path of the dump * Fix lgtm * Allow sout * Fix lgtm * Supress systemout at the method level * Fix style complain * Address comments * Fix spotless * Address comments * Return when exception occurs * Remove comment Co-authored-by: Trask Stalnaker <[email protected]> * Use getBoolean for system property Co-authored-by: Trask Stalnaker <[email protected]> * Fix startup profiling (#2092) * Fix startup profiling * errorprone * Shorten host property in network statsbeat (#2087) * Shorten host * Use regex * Fix spotless * Strict protocol * Remove sout debugging * Remove escape . * Send endpointUrl when region is not found * Turn off oshi logging (#2086) * Turn off oshi logging * Update oshi logger level * Don't mark throttle as error (#2079) * Update azure-core dependency (#2095) Co-authored-by: Helen Y <[email protected]>
#2000