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

Trace port port opened before server initialization #316

Open
xzchaoo opened this issue Apr 4, 2023 · 0 comments
Open

Trace port port opened before server initialization #316

xzchaoo opened this issue Apr 4, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@xzchaoo
Copy link
Contributor

xzchaoo commented Apr 4, 2023

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

@xzchaoo xzchaoo added the bug Something isn't working label Apr 4, 2023
@xzchaoo xzchaoo self-assigned this Apr 4, 2023
@xzchaoo xzchaoo added this to the v1.1 milestone Apr 10, 2023
@xzchaoo xzchaoo modified the milestones: v1.1, v1.2 May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant