commit | a0934d74d02711741db195622475a3c67161e7e9 | [log] [tgz] |
---|---|---|
author | Takeru Ohta <phjgt308@gmail.com> | Tue Dec 25 23:25:21 2018 +0900 |
committer | Takeru Ohta <phjgt308@gmail.com> | Tue Dec 25 23:25:21 2018 +0900 |
tree | 63501afc27a419d1607b1e9a60c1102c00212331 | |
parent | 054e0b62c8f9e842f96a4315a949bfe2a0fc2c6c [diff] |
Update rebar.config.script
Jaeger client library for Erlang.
This is an extension library of passage.
Starts Jaeger in the background:
$ docker run -d -p6831:6831/udp -p6832:6832/udp -p16686:16686 jaegertracing/all-in-one:latest
Starts Erlang Shell:
$ rebar3 shell % Starts `example_tracer` > Sampler = passage_sampler_all:new(). > ok = jaeger_passage:start_tracer(example_tracer, Sampler). % Starts a root span. > RootSpan = passage:start_span(example_root, [{tracer, example_tracer}]). % Starts a child span. > ChildSpan = passage:start_span(example_child, [{child_of, RootSpan}]). % Finishes the spans > passage:finish_span(ChildSpan). > passage:finish_span(RootSpan).
Browses the tracing result:
$ firefox http://localhost:16686/