Skip to content

Provides an implementation of the Lua OpenTracing API on top of the C++ API

License

Notifications You must be signed in to change notification settings

opentracing/lua-bridge-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua-bridge-tracer

Provides an implementation of the Lua OpenTracing API on top of the C++ OpenTracing API.

Dependencies

Installation

mkdir .build
cd .build
cmake ..
make
sudo make install

Usage

bridge_tracer = require 'opentracing_bridge_tracer'
library = --[[ path to OpenTracing plugin ]]
config = --[[ vendor specific JSON configuration for the tracer ]]
tracer = bridge_tracer:new(library, config)

-- `tracer` conforms to the Lua OpenTracing API. See 
-- https://github.com/opentracing/opentracing-lua for API documentation.

See also example/tutorial.