Elastic Observability APM page always show "add Data button"

-Dfile.encoding=UTF-8
-javaagent:C:/Users/mycom/Desktop/elastic_apm/elastic-apm-agent-1.50.0.jar
-Delastic.apm.service_name=my-service-name
-Delastic.apm.server_url=http://172.16.6.124:8200
-Delastic.apm.environment=my-environment
-Delastic.apm.application_packages=com.xxx
2024-07-13 12:43:27,965 [main] INFO  co.elastic.apm.agent.configuration.StartupInfo - service_name: 'my-service-name' (source: Java System Properties)
2024-07-13 12:43:27,965 [main] INFO  co.elastic.apm.agent.configuration.StartupInfo - environment: 'my-environment' (source: Java System Properties)
2024-07-13 12:43:27,965 [main] INFO  co.elastic.apm.agent.configuration.StartupInfo - server_url: 'http://172.16.6.124:8200' (source: Java System Properties)
2024-07-13 12:43:27,965 [main] INFO  co.elastic.apm.agent.configuration.StartupInfo - application_packages: 'com.xxx' (source: Java System Properties)
2024-07-13 12:43:28,841 [elastic-apm-server-healthcheck] INFO  co.elastic.apm.agent.report.ApmServerHealthChecker - Elastic APM server is available: {  "build_date": "2024-07-08T17:22:03Z",  "build_sha": "ceaf482859c86da0ba6de99005ab2fffae7551c6",  "publish_ready": false,  "version": "8.14.3"}
2024-07-13 12:43:28,850 [elastic-apm-remote-config-poller] INFO  co.elastic.apm.agent.configuration.ApmServerConfigurationSource - Received new configuration from APM Server: {}
2024-07-13 12:43:29,527 [main] INFO  co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to RUNNING state

I wonder if the same Add Data page keeps popping up. Which log part should I look at?

From Elastic Observability to APM

Added java

I'm not too sure what you are asking here. I think you are saying that when you navigate to the APM->services menu option in the UI that you don't see any service listed?