Skip to content

primait/teleplug

Repository files navigation

Teleplug

Module Version Hex Docs Total Download License Last Updated

Teleplug is a dead simple opentelemetry-instrumented plug.

Installation

If available in Hex, the package can be installed by adding teleplug to your list of dependencies in mix.exs:

def deps do
  [
    {:teleplug, "~> 1.0.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/teleplug.

Use

In your pipeline add

plug Teleplug

There are some options you can pass, for example

plug Teleplug,
  trace_propagation: :as_link

see the module documentation for details

Copyright and License

Copyright (c) 2020 Prima.it

This work is free. You can redistribute it and/or modify it under the terms of the MIT License. See the LICENSE.md file for more details.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

6 stars

Watchers

39 watching

Forks

Packages

 
 
 

Contributors