[ 
https://issues.apache.org/jira/browse/TS-5089?focusedWorklogId=33418&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-33418
 ]

ASF GitHub Bot logged work on TS-5089:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Dec/16 20:17
            Start Date: 12/Dec/16 20:17
    Worklog Time Spent: 10m 
      Work Description: GitHub user jrushford opened a pull request:

    https://github.com/apache/trafficserver/pull/1258

    TS-5089: Add money_trace plugin.

    This is an experimental remap plugin that is now open sourced that allows 
traffic server caches to participate in a distributed tracing system that 
utilizes the Comcast Money library.  The Comcast Money library, 
https://github.com/Comcast/money/wiki, has its roots in Google Dapper and 
Twitter's zipkin.  
    
    Hopefully this plugin may prove useful for others in the community.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jrushford/trafficserver TS-5089

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1258.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1258
    
----
commit e96ed1f7ec166b49be5adda763fe08e0b6936ee2
Author: John J. Rushford <[email protected]>
Date:   2016-12-12T19:10:15Z

    TS-5089: Add money_trace plugin.

----


Issue Time Tracking
-------------------

            Worklog Id:     (was: 33418)
            Time Spent: 10m
    Remaining Estimate: 0h

> Add money_trace plugin
> ----------------------
>
>                 Key: TS-5089
>                 URL: https://issues.apache.org/jira/browse/TS-5089
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Plugins
>            Reporter: John Rushford
>            Priority: Minor
>             Fix For: sometime
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This is an experimental remap plugin  that allows ATS to participate in a 
> distrbuted tracing system based upon the Comcast "Money" distributed tracing 
> and monitoring library.  The Comcast "Money" library has its roots in 
> Google's Dapper and Twitters Zipkin systems.  A money trace header or session 
> id, is attached to transaction and allows an operator with the appropriate 
> logging systems in place, to determine where errors and/or latency may exit.
> Use of the library enables the tracing of a transaction through all systems 
> that participate in handling the request. See the documentation on this open 
> source library at https://github.com/Comcast/money/wiki.
> This plugin checks incoming requests for the "X-MoneyTrace" header.  If the 
> header is not present no further processing takes place.  However if the 
> header is present,  the plugin will check to to see if the request has been 
> cached.  If so, the plugin will add the "X-Moneytrace" header from the 
> incoming request to the cached response returned to the client as required by 
> the money_trace protocol.  If the request has not been cached, the plugin 
> will extends the trace context by creating a new "X-MoneyTrace" header for 
> inclusion in the outgoing request to a parent cache or origin server. The 
> extended header includes the 'trace-id' from the incoming request, the 
> incoming span-id becomes the outgoing parent-id and the plugin generates a 
> new random long span id for the outgoing request.  See the documentation at 
> the link above for a complete description on the "X-MoneyTrace" header and 
> how to use and extend it in a distributed tracing system.
> To configure and use this plugin, simply add it in the remap.config file 
> where needed.  EXAMPLE:
>   map http://vod.foobar.com http://origin.vod.foobar.com 
> @plugin=money_trace.so



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to