commit | 28cea08f11328639ccda583f2f451d9579cec504 | [log] [tgz] |
---|---|---|
author | Paul J. Davis <paul.joseph.davis@gmail.com> | Tue Nov 19 12:33:10 2019 -0600 |
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | Tue Nov 19 12:33:10 2019 -0600 |
tree | 40a4dfff2ea909797023f16c3aad7be715068578 | |
parent | 690c6991d6f51c9bc7fa55ddcfd0be467aaa3fd2 [diff] |
Use Apache CouchDB mirrors for dependencies
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/