fix a bug in example

if the endpoint（which contains service_name and host） not set in
TracingAgent，zipkin ui will can't
see trace data