@web3api/tracing-js
v0.0.1-prealpha.85
Published
Web3API Core Tracing
Downloads
31
Readme
Tracing
Steps to use tracing
Run the zipkin client using docker
docker run -d -p 9411:9411 openzipkin/zipkin
Enable tracing when creating the
Web3ApiClient
const client = new Web3ApiClient({ ..., tracingEnabled: true })
Or you can turn on tracing while running the
Web3ApiClient
by calling thetracingEnabled
method ofWeb3ApiClient
.// Turn tracing off client.tracingEnabled(false);
Once you run the app and started producing logs, go to zipkin client which is running on
http://localhost:9411
. There you can clickRUN QUERY
button without any filters to show all the logs.