Skip to content
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

Merged
merged 21 commits into from
Feb 7, 2022
Merged

Add a startup profiler for debugging #2085

merged 21 commits into from
Feb 7, 2022

Conversation

heyams
Copy link
Contributor

@heyams heyams commented Feb 3, 2022

@lgtm-com
Copy link

lgtm-com bot commented Feb 3, 2022

This pull request introduces 1 alert when merging 84af22e into 99c14ba - view on LGTM.com

new alerts:

  • 1 for Potential output resource leak

Co-authored-by: Trask Stalnaker <[email protected]>
@lgtm-com
Copy link

lgtm-com bot commented Feb 4, 2022

This pull request introduces 1 alert when merging 30db82c into 99c14ba - view on LGTM.com

new alerts:

  • 1 for Potential output resource leak

@heyams
Copy link
Contributor Author

heyams commented Feb 4, 2022

@heyams
Copy link
Contributor Author

heyams commented Feb 4, 2022

errorprone failed for sout.

@lgtm-com
Copy link

lgtm-com bot commented Feb 4, 2022

This pull request introduces 1 alert when merging b9cffda into 99c14ba - view on LGTM.com

new alerts:

  • 1 for Potential output resource leak

@trask
Copy link
Member

trask commented Feb 4, 2022

errorprone failed for sout.

you can use @SuppressWarnings("SystemOut")

@heyams heyams marked this pull request as ready for review February 4, 2022 23:01
@heyams heyams requested a review from kryalama as a code owner February 4, 2022 23:01
@heyams heyams requested a review from trask February 7, 2022 19:19
@heyams heyams merged commit 836e268 into main Feb 7, 2022
@heyams heyams deleted the heya/debug-profiler branch February 7, 2022 21:26
heyams added a commit that referenced this pull request Feb 9, 2022
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants