Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 698 Bytes

tracing.md

File metadata and controls

34 lines (25 loc) · 698 Bytes

Report trace data

Edit the configuration of the tracing plugin

trace_plugin='buildin' # or empty

To zipkin server

zipkin

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

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