{"id":16800692,"url":"https://github.com/derailed/ex_ray_tracers","last_synced_at":"2025-07-12T19:37:48.459Z","repository":{"id":66397518,"uuid":"108505075","full_name":"derailed/ex_ray_tracers","owner":"derailed","description":"Sample Phoenix apps to demonstrate OpenTracing with Elixir","archived":false,"fork":false,"pushed_at":"2017-10-27T06:05:43.000Z","size":367,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T00:34:23.363Z","etag":null,"topics":["elixir","opentracing","otter","phoenix-framework"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derailed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-27T05:54:22.000Z","updated_at":"2025-02-26T12:18:13.000Z","dependencies_parsed_at":"2023-02-21T03:00:27.487Z","dependency_job_id":null,"html_url":"https://github.com/derailed/ex_ray_tracers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/derailed/ex_ray_tracers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derailed%2Fex_ray_tracers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derailed%2Fex_ray_tracers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derailed%2Fex_ray_tracers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derailed%2Fex_ray_tracers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derailed","download_url":"https://codeload.github.com/derailed/ex_ray_tracers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derailed%2Fex_ray_tracers/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265044259,"owners_count":23702906,"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":["elixir","opentracing","otter","phoenix-framework"],"created_at":"2024-10-13T09:34:42.592Z","updated_at":"2025-07-12T19:37:48.402Z","avatar_url":"https://github.com/derailed.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tracers\n\n\u003cdiv align=\"center\" style=\"margin-top:20px;\"\u003e\n  \u003cimg src=\"assets/tracer.jpg\"/\u003e\n\u003c/div\u003e\n\n---\n## Motivation\n\n Sample Phoenix applications to demonstrate the use [ExRay](https://github.com/derailed/ex_ray)\n and OpenTracing via [Otter](https://github.com/Bluehouse-Technology/otter)\n\n---\n## Up And Running\n\n1. Start Jaeger Docker Image\n\n    ```shell\n    docker run -d -e COLLECTOR_ZIPKIN_HTTP_PORT=9411 \\\n    -p5775:5775/udp -p6831:6831/udp -p6832:6832/udp \\\n    -p5778:5778 -p16686:16686 -p14268:14268 -p9411:9411 \\\n    jaegertracing/all-in-one:latest\n    ```\n\n1. Start TraceMe Phoenix App\n\n    This is the main application that retrieves available castles and their associated avatars\n\n    \u003e You will need to run a local instance of Postgres and modify the db config to match your environment.\n\n    ```shell\n    cd traceme\n    mix do deps.get, ecto.create, ecto.migrate\n    mix run priv/repo/seeds.exs\n    mix phx.server\n    ```\n\n1. Start Avatars Phoenix App\n\n    This app simulate avatar generation.\n\n    ```shell\n    cd avatars\n    mix do deps.get, phx.server\n\n1. Open Jaeger UI\n\n    Select the TraceMe service and observe the various spans associated with the api calls\n    below.\n\n    ```shell\n      open http://localhost:16686\n    ```\n\n 1. Exercise the tracing APIs\n\n    ```shell\n    # Regular call\n    curl -XGET http://localhost:4000/api/castles\n    # GenFlow call\n    curl -XGET http://localhost:4000/api/castles_flow\n    # External Avatar Service call\n    curl -XGET http://localhost:4000/api/castles_svc\n    ```\n\n\n---\n\u003cimg src=\"assets/imhoteplogo.png\" width=\"32\" height=\"auto\"/\u003e © 2017 Imhotep Software LLC.\nAll materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderailed%2Fex_ray_tracers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderailed%2Fex_ray_tracers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderailed%2Fex_ray_tracers/lists"}