@polywrap/tracing-js
v0.12.2
Published
Polywrap Core Tracing
Downloads
286
Readme
@polywrap/tracing-js
Steps to use tracing
Run the zipkin client using docker
docker run -d -p 9411:9411 openzipkin/zipkin
Enable tracing when creating the
PolywrapClient
const client = new PolywrapClient({ ..., tracingEnabled: true })
Or you can turn on tracing while running the
PolywrapClient
by calling thetracingEnabled
method ofPolywrapClient
.// 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.