File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
arex-agent-core/src/main/java/io/arex/agent/instrumentation Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -52,19 +52,20 @@ public void install() {
5252 Thread .currentThread ().setContextClassLoader (getClassLoader ());
5353 // Timed load config for agent delay start and dynamic retransform
5454 long delayMinutes = ConfigService .INSTANCE .loadAgentConfig (agentArgs );
55- ConfigService .INSTANCE .reportStatus ();
5655 if (delayMinutes > 0 ) {
5756 TimerService .schedule (this ::install , delayMinutes , TimeUnit .MINUTES );
5857 timedReportStatus ();
5958 }
6059 if (!ConfigManager .INSTANCE .valid ()) {
60+ ConfigService .INSTANCE .reportStatus ();
6161 if (!ConfigManager .FIRST_TRANSFORM .get ()) {
6262 LOGGER .warn ("[AREX] Agent would not install due to {}." , ConfigManager .INSTANCE .getInvalidReason ());
6363 }
6464 return ;
6565 }
6666 initDependentComponents ();
6767 transform ();
68+ ConfigService .INSTANCE .reportStatus ();
6869 } finally {
6970 Thread .currentThread ().setContextClassLoader (savedContextClassLoader );
7071 }
You can’t perform that action at this time.
0 commit comments