@polywrap/tracing-js
TypeScript icon, indicating that this package has built-in type declarations

0.12.2 • Public • Published

@polywrap/tracing-js

Steps to use tracing

  1. Run the zipkin client using docker

    docker run -d -p 9411:9411 openzipkin/zipkin
    
  2. Enable tracing when creating the PolywrapClient

    const client = new PolywrapClient({
      ...,
      tracingEnabled: true
    })

    Or you can turn on tracing while running the PolywrapClient by calling the tracingEnabled method of PolywrapClient.

    // Turn tracing off
    client.tracingEnabled(false);
  3. Once you run the app and started producing logs, go to zipkin client which is running on http://localhost:9411. There you can click RUN QUERY button without any filters to show all the logs.

Readme

Keywords

none

Package Sidebar

Install

npm i @polywrap/tracing-js

Weekly Downloads

117

Version

0.12.2

License

MIT

Unpacked Size

28.3 kB

Total Files

9

Last publish

Collaborators

  • polywrap-build-bot
  • dorgjelli