Report trace data
Edit the configuration of the tracing plugin
trace_plugin='buildin' # or empty
To zipkin server
Add the zipkin server endpoint
# Export the environments
export TRACING_COLLECTOR=server
export TRACING_SERVER_ADDRESS=http://127.0.0.1:9411 # zipkin server endpoint
# Start the Service-center
./servicecenter
To file
Customize the path of trace data file
# Export the environments
export TRACING_COLLECTOR=file
export TRACING_FILE_PATH=/tmp/servicecenter.trace # if not set, use ${work directory}/SERVICECENTER.trace
# Start the Service-center
./servicecenter