spanner

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 8 Imported by: 0

README

Spanner

A minimal tool for visualising Datadog traces 🔧

Installation

You can install Spanner like so:

go install github.com/marcus-crane/spanner@latest

If you prefer Homebrew, you can use that as well:

brew install marcus-crane/tap/spanner

Usage

Upon running spanner, it will start listening on localhost:8126 for any requests.

When starting up one (or more) local applications with the Datadog tracer, they should default to localhost and you'll see the contents of the incoming traces dumped out to the terminal.

It isn't very pretty at the moment but it works as a first cut.

Notes

It might also work with generic Opentracing spans but I haven't tried. I've also only implemented the msgpack format for traces but the official agent also supports protobuf.

In my brief testing, only with the Go tracer, I didn't see any spans that weren't msgpack but it could vary between APM agents.

Screenshots

A screenshot of a terminal with Spanner running

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL