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.72

Features

  • PR-620 Plugin DevExp Improvements: The plugin developer experience has been revised to be very close to the API development experience.
  • PR-697 BigNumber Schema Type: The BigNumber type is now available for use as a base type for Web3API schemas.
  • PR-802 @web3api/cli: w3 query ... command now supports the following options:
    • -o, --output-file: Output file path for the query result.
    • -q, --quiet: Suppress output.
  • PR-790 @web3api/schema-bind: wasm-as bindings have been updated to include a helper function requireEnv(), which can be used to check if the environment is null or not.
  • PR-795 @web3api/templates: The AssemblyScript & interface templates used for the w3 create api ... command has been updated to include metadata (descriptions, icons, etc).
  • PR-794 @web3api/templates: The AssemblyScript template used for the w3 create api assemblyscript ... command has been updated to include e2e tests.

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 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.

FAQs

Last updated on 21 Apr 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