commit | deb2fe4d71643eb63da3344befd3edf9156fbdaa | [log] [tgz] |
---|---|---|
author | Takeru Ohta <phjgt308@gmail.com> | Wed Oct 25 02:06:17 2017 +0900 |
committer | Takeru Ohta <phjgt308@gmail.com> | Wed Oct 25 02:06:17 2017 +0900 |
tree | 626dfc15ff6c554c6959c6f02206dbaf7bafc969 | |
parent | a32b90f4b6032707969fbaba6b839678c98fa473 [diff] |
Update 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_repoter` and registers `example_tracer` > Context = jaeger_passage_span_context. > Sampler = passage_sampler_all:new(). > {ok, Reporter} = jaeger_passage_reporter:start(example_repoter). > ok = passage_tracer_registry:register(example_tracer, Context, Sampler, Reporter). % Starts a root span. > RootSpan = passage:start_root_span(example_root, 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/