Temporal SDK metrics not fetched by spring actuator

Hi team, we’ve imported io.temporal:temporal-spring-boot-starter:1.26.2 and org.springframework.boot:spring-boot-starter-actuator:3.3.7 in our app. Hopefully, we followed the spring-boot folder in sample-java and added all the annotations for temporal. We also set workersAutoDiscovery to scan the package. However the metric still is not fetched by actuator endpoint.
Differently from annotating the workflow and activity. We have our own logic to create WorkerClient bean, create worker from workerFactory and register activity to it. I just think maybe we’re missing something to let spring know the activities registered by ourselves. Would you please provide some advice on this?

public void startWorker() {
WorkerFactory factory = WorkerFactory.newInstance(workflowClient);
// initial
registerWorker(factory);