I have created a spring boot application with spring cloud sleuth. For POC purposes, I used zipkin on my local machine and I am able to instrument a external service which is not instrumented by creating manual span. I reffered below link. https://cloud.spring.io/spring-cloud-sleuth/1.2.x/multi/multi__customizations.html
Now, When I move to PCF environment, then I am unable to collect proper custom spans. PCF metrics always shows parent span and service with total time taken. Could anyone please let me know where I am going wrong.
Zipkin Output:-
PCF Metrics:-
UPDATE screen shot for Zipkin with @NewSpan.
PCF metrics screen shot without call hierachy