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
Install size
10.0 MB
Created

Changelog

Source

Web3API 0.0.1-prealpha.61

Features

  • @web3api/cli: Added the --client-config / -c option to the w3 query CLI command, allowing the user the define their own client configurations within a JavaScript or TypeScript module.
  • @web3api/client-js: Plugins can now be initialized with the client's environment registered at the plugin's URI.

Bugs

  • @web3api/schema-bind: Properly handle reserve words for the bind target's language. Reserved words will be prepended with m_ in order to avoid compiler errors.

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 16 Jan 2022

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