sebnow / httptracing

httpclient.Client implementation integrating OpenTracing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status GoDoc Coverage Status Go Report Card

Description

The httptracing package forms a bridge between httpclient and the opentracing-contrib nethttp package. It provides a HTTP client with opentracing support, implementing the httpclient.Client interface.

Usage

tracer := opentracing.GlobalTracer()
client := httptracing.Trace(tracer, http.DefaultClient)

resp, err := client.Get("http://test.com")
//...

About

httpclient.Client implementation integrating OpenTracing

License:MIT License


Languages

Language:Go 100.0%