GithubHelp home page GithubHelp logo

halofour / golang-money Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xmidt-org/golang-money

0.0 2.0 0.0 119 KB

This is the Go implementation of Money

License: Apache License 2.0

Go 100.00%

golang-money's Introduction

#Money

##Distributed Tracing using Go This is the Go implementation of Money

Build Status codecov.io Go Report Card

###A Money header looks like the following

Money: trace-id=YourTraceId;parent-id=12345;span-id=12346;span-name=YourSpanName;start-time=2016-02-15T20:30:46.782538292Z;span-duration=3000083865;error-code=200;span-success=true
Span Data Description
spanId current span's identifier
traceId name for the trace
parentId current span's parent identifier
spanName current span's name
startTime current span's start time
spanDuration current span's duration time
errorCode current span's error code
spanSuccess Was the current span successful

###Functionality to handle the Money header can be added in two ways ####1. Decorate you're handlers with the Money handler

Money.Decorate( [http.Handler], Money.AddToHandler( [spanName] ))

####2. Use the Money Begin and End functions by adding them to your http.Handler

###Start server and make a request that includes a Money header

The basics to start a Money trace are a trace id name and starting span id number.

Money:trace-id=YourTraceId;span-id=12345;

golang-money's People

Contributors

joe94 avatar johnabass avatar kraj avatar kristinapathak avatar njharter avatar schmidtw avatar

Watchers

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