commit | 7296c79fae016ccfe577c56034bf052f9ca2f63a | [log] [tgz] |
---|---|---|
author | Takeru Ohta <phjgt308@gmail.com> | Tue Dec 25 23:14:26 2018 +0900 |
committer | Takeru Ohta <phjgt308@gmail.com> | Tue Dec 25 23:14:26 2018 +0900 |
tree | db342fe79e1bb5f41288b323557955c3fe59d7b8 | |
parent | c797a8ad38a90ef7175b690feda46a8a93d2428f [diff] |
Update .travis.yml
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/