Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.03 KB

README.md

File metadata and controls

36 lines (30 loc) · 1.03 KB

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.