fix a bug in example

if the endpoint（which contains service_name and host） not set in TracingAgent，trace data  will can't see on zipkin ui (for it need 'service_name' to query trace items)