/lua-bridge-tracer

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

Primary LanguageC++Apache License 2.0Apache-2.0

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.