inspectIT / inspectit-ocelot

inspectIT Ocelot - Java agent for collecting application performance, tracing and behavior data
http://www.inspectit.rocks/
Apache License 2.0
204 stars 69 forks source link

Delays start of inspectit for a configurable amount of time #1606

Closed quandor closed 1 year ago

quandor commented 1 year ago

This property is rarely useful. There are cases you want to start an application with inspectit's agent attached but inspectit should pick up its work only after a configurable amount of milliseconds.


This change is Reviewable

codecov[bot] commented 1 year ago

Codecov Report

Merging #1606 (80d2697) into master (6a2d2b8) will decrease coverage by 0.09%. The diff coverage is 21.05%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1606 +/- ## ============================================ - Coverage 78.27% 78.19% -0.09% - Complexity 2421 2424 +3 ============================================ Files 251 251 Lines 7940 7959 +19 Branches 942 945 +3 ============================================ + Hits 6215 6223 +8 - Misses 1311 1321 +10 - Partials 414 415 +1 ``` | [Impacted Files](https://app.codecov.io/gh/inspectIT/inspectit-ocelot/pull/1606?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inspectIT) | Coverage Δ | | |---|---|---| | [...n/java/rocks/inspectit/ocelot/agent/AgentMain.java](https://app.codecov.io/gh/inspectIT/inspectit-ocelot/pull/1606?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inspectIT#diff-aW5zcGVjdGl0LW9jZWxvdC1hZ2VudC9zcmMvbWFpbi9qYXZhL3JvY2tzL2luc3BlY3RpdC9vY2Vsb3QvYWdlbnQvQWdlbnRNYWluLmphdmE=) | `38.20% <21.05%> (-4.65%)` | :arrow_down: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/inspectIT/inspectit-ocelot/pull/1606/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inspectIT)