Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Trace port port opened before server initialization #316

@xzchaoo

Description

@xzchaoo

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions