commit | cf3c6cc9f457c0866ad78851a7da0f665cd12aad | [log] [tgz] |
---|---|---|
author | Takeru Ohta <phjgt308@gmail.com> | Tue Dec 25 23:29:03 2018 +0900 |
committer | Takeru Ohta <phjgt308@gmail.com> | Tue Dec 25 23:29:03 2018 +0900 |
tree | 02ff295fad48d47f64f02cbb92ab368f192e7188 | |
parent | a0934d74d02711741db195622475a3c67161e7e9 [diff] |
Update rebar.lock
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/