Socket
Socket
Sign inDemoInstall

@web3api/tracing-js

Package Overview
Dependencies
11
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web3api/tracing-js


Version published
Maintainers
2
Created

Changelog

Source

Web3API 0.0.1-prealpha.41

Features

  • @web3api/schema-parse: Added support for JSON as a base type.
  • @web3api/ens-api: Merged in an initial version of the ENS Wasm based Web3Api.
  • web3api.build.yaml: Added support for the linked_packages property, allowing you to link local packages into the dockerized build-env.

Bugs

  • @web3api/schema-compose: Fixed an invalid GraphQL bug that occured when an imported query method did not have any arguments.

Readme

Source

Tracing

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 Web3ApiClient

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

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

    // Turn tracing off
    client.tracingEnabled(false);
    
  3. Once you run the dapp 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.

FAQs

Last updated on 14 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc