Git Product home page Git Product logo

ziploader's Introduction

Using ziploader to view Triton traces

Warnings/Notes

  • This tool is still very experimental and output is overly obscure and verbose. Eventually this will be cleaned up.

  • Only restify spans are fully supported for now. Other spans should show up but may have weird behaviors.

  • This tool is part of the work on RFD 35

Installing (run from the Triton GZ)

For now ziploader is built as a tarball. You can install the latest version using:

(rm -rf /opt/custom/ziploader \
    && mkdir -p /opt/custom/ziploader \
    && cd /opt/custom/ziploader \
    && updates-imgadm get-file -C experimental -o /tmp/ziploader.$$.tgz \
        $(updates-imgadm list --latest -C experimental -H -o uuid name=ziploader) \
    && tar -zxvf /tmp/ziploader.$$.tgz \
    && rm /tmp/ziploader.$$.tgz)

which will wipe out your existing /opt/custom/ziploader and load the latest version.

Create a Zipkin instance (run on your computer)

NOTE: this needs to be accessible from the GZ of the host you're running this tool on, but it should also probably not be open to the Internet since there's no encryption or authentication.

# docker run --name zippy -d -p 9411:9411 openzipkin/zipkin
18ce72a6b7264d288a373de589dcb64d013ff4fe214c42d4a93cd3195ecc11bd

Find the IP of the Zipkin instance (run on your computer)

# docker inspect --format='{{.NetworkSettings.IPAddress}}' zippy
172.26.6.139

Start the ziploader, pointing at this zipkin instance (run from the Triton GZ)

# /opt/custom/ziploader/ziploader.js -H 172.26.6.139

Command-click (assuming iTerm) on the links as they pop up in the console to view the traces.

ziploader's People

Contributors

cburroughs avatar joshwilsdon avatar twhiteman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.