{"id":18616689,"url":"https://github.com/sile/jaeger_passage","last_synced_at":"2025-04-11T01:32:03.320Z","repository":{"id":57508921,"uuid":"107436722","full_name":"sile/jaeger_passage","owner":"sile","description":"Jaeger client library for Erlang","archived":false,"fork":false,"pushed_at":"2020-01-23T13:32:32.000Z","size":64,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T03:36:22.944Z","etag":null,"topics":["erlang","jaeger","opentracing"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-18T16:49:47.000Z","updated_at":"2023-10-24T18:38:11.000Z","dependencies_parsed_at":"2022-09-02T01:50:23.046Z","dependency_job_id":null,"html_url":"https://github.com/sile/jaeger_passage","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Fjaeger_passage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Fjaeger_passage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Fjaeger_passage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Fjaeger_passage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sile","download_url":"https://codeload.github.com/sile/jaeger_passage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248325271,"owners_count":21084900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["erlang","jaeger","opentracing"],"created_at":"2024-11-07T03:37:39.195Z","updated_at":"2025-04-11T01:32:03.018Z","avatar_url":"https://github.com/sile.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"jaeger_passage\n==============\n\n[![hex.pm version](https://img.shields.io/hexpm/v/jaeger_passage.svg)](https://hex.pm/packages/jaeger_passage)\n[![Build Status](https://travis-ci.org/sile/jaeger_passage.svg?branch=master)](https://travis-ci.org/sile/jaeger_passage)\n[![Code Coverage](https://codecov.io/gh/sile/jaeger_passage/branch/master/graph/badge.svg)](https://codecov.io/gh/sile/jaeger_passage/branch/master)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n[Jaeger](https://uber.github.io/jaeger/) client library for Erlang.\n\nThis is an extension library of [passage](https://github.com/sile/passage).\n\n[Documentation](https://hexdocs.pm/jaeger_passage/)\n\nA Running Example\n-----------------\n\nStarts Jaeger in the background:\n\n```console\n$ docker run -d -p6831:6831/udp -p6832:6832/udp -p16686:16686 jaegertracing/all-in-one:latest\n```\n\nStarts Erlang Shell:\n```erlang\n$ rebar3 shell\n\n% Starts `example_tracer`\n\u003e Sampler = passage_sampler_all:new().\n\u003e ok = jaeger_passage:start_tracer(example_tracer, Sampler).\n\n% Starts a root span.\n\u003e RootSpan = passage:start_span(example_root, [{tracer, example_tracer}]).\n\n% Starts a child span.\n\u003e ChildSpan = passage:start_span(example_child, [{child_of, RootSpan}]).\n\n% Finishes the spans\n\u003e passage:finish_span(ChildSpan).\n\u003e passage:finish_span(RootSpan).\n```\n\nBrowses the tracing result:\n```console\n$ firefox http://localhost:16686/\n```\n\nSelecting reporter\n------------------\n\nBy default 'compact' jaeger.thrift over UDP reporter is used. However it is\npossible to select different reporter. Bellow is a configuration matrics for\navailable options:\n\n| protocol | thrift_protocol | jaeger port | description                      |\n|----------|-----------------|-------------|----------------------------------|\n| udp      | compact         | 6831        | accept jaeger.thrift over compact thrift protocol (default) |\n| udp      | binary          | 6832        | accept jaeger.thrift over binary thrift protocol |\n| http     | N/A             | 14268       | accept jaeger.thrift directly from clients |\n\nThe HTTP version is beneficial if you don't have jaeger agents deployed or your\nspans are greater than max udp packet size (65Kb).\nOtherwise it is better to use default.\n\nReferences\n-----------\n\n- [OpenTracing](http://opentracing.io/)\n- [Jaeger](https://uber.github.io/jaeger/)\n- [jaeger-client-go/README.md](https://github.com/jaegertracing/jaeger-client-go/blob/v2.9.0/README.md)\n- [Jaeger Client Library](https://github.com/jaegertracing/jaeger/blob/master/docs/client_libraries.md)\n- [Jaeger default ports](https://www.jaegertracing.io/docs/1.8/getting-started/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsile%2Fjaeger_passage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsile%2Fjaeger_passage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsile%2Fjaeger_passage/lists"}