Describe this problem
GatewayTraceGrpcServer is a spring bean which expose 11800 trace port.
ApmInitializer is also a spring bean which initializes trace initialization jobs, but it implements ApplicationRunner interface, which makes ApmInitializer runs after GatewayTraceGrpcServer.
This will cause the request to enter the server before the initialization task has completed.
To Reproduce
Expected behavior
Additional Information
Describe this problem
GatewayTraceGrpcServeris a spring bean which expose 11800 trace port.ApmInitializeris also a spring bean which initializes trace initialization jobs, but it implementsApplicationRunnerinterface, which makesApmInitializerruns afterGatewayTraceGrpcServer.This will cause the request to enter the server before the initialization task has completed.
To Reproduce
Expected behavior
Additional Information