Skip to content

opencensus-beam/opencensus_tesla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCensus Tesla Middleware

CircleCI CodeCov Inline docs

OpencensusTesla is a Tesla middleware for generating spans for outgoing requests. This middleware will create a new child span from the current context and include this context in W3C TraceContext headers with the request.

Installation

The package can be installed by adding opencensus_tesla to your list of dependencies in mix.exs:

def deps do
  [
    {:opencensus_tesla, "~> 0.2.0"}
  ]
end

Example usage

defmodule MyClient do
  use Tesla

  plug OpencensusTesla.Middleware
end

About

Tesla middleware for OpenCensus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages