use all-in-one image
Set Jaeger ENV variable
CONF_PROVIDER_FILE_PATH=xxxxxxxxxxxxx JAEGER_AGENT_PORT=32769 JAEGER_AGENT_HOST=localhost JAEGER_SERVICE_NAME=GrpcServer JAEGER_SAMPLER_PARAM=1
Detail: jaeger-environment-variables
PS:
1
, it means 100% requests will be used for sample. Set 0.9
means 90% requests.32769
is docker published port, it map to 6831
, golang client will use 6831
for send tracing data.Then run go server.
Set Jaeger ENV variable
CONF_CONSUMER_FILE_PATH=xxxxxxxxxxxxx JAEGER_AGENT_PORT=32769 JAEGER_AGENT_HOST=localhost JAEGER_SERVICE_NAME=GrpcClient JAEGER_SAMPLER_PARAM=1
Detail: jaeger-environment-variables.
Then start go client following README.