Microservice tracing is not showing properly

I have a spring boot microservice project. I am using elk cloud instance for apm and kibana.
I am using consul as service discovery, rabbitMQ for message processing and webclient for service to service communication.

I run each service using this command -

java -javaagent:elk-agent/elastic-apm-agent-1.52.1.jar \
-Delastic.apm.service_name=service-name \
-Delastic.apm.secret_token=token \
-Delastic.apm.server_url=url\
-Delastic.apm.environment=local \
-Delastic.apm.universal_profiling_integration_enabled=true \
-Delastic.apm.application_packages=my-package \
-jar app.jar

I am facing two issues:

  1. There is a http request from query service to auth service. From the query service, the tracing shows the ip address of oauth instead of service name. But it works fine for ampq call through rabbitmq.

  1. Another problem is, my dashboard service has a db call but in the service map, this connection is not shown. Though in the service dashboard tracing section, it detects the db call.

Do I need to add any configuration for webclient or other config?