tarantool / tracing

OpenTracing API for Tarantool
9 stars 3 forks source link

example client fails #11

Closed DifferentialOrange closed 3 years ago

DifferentialOrange commented 3 years ago

Prerequirements: tarantoolctl rocks install http 2.0.1 tarantoolctl rocks install tracing

Run: tarantool formatter.lua, tarantool publisher.lua in separate terminal window, tarantool client.lua in separate terminal window.

Last one fails with

LuajitError: client.lua:85: Print string error: {"status":595,"reason":"Couldn't connect to server"}
fatal error, exiting the event loop

while tarantool formatter.lua still logs

started
entering the event loop
GET /format?helloto=world

tarantool publisher.lua logs only

entering the event loop

and there are some traces in Jagger: image

DifferentialOrange commented 3 years ago

Seems like the reason is missing httpd:start() in publisher.lua app.init() in README