{"id":20114040,"url":"https://github.com/davidb/sandbox_context_scala","last_synced_at":"2026-05-12T00:43:43.822Z","repository":{"id":66431682,"uuid":"81992013","full_name":"davidB/sandbox_context_scala","owner":"davidB","description":"[experimental] context propagation, opentracing, scala,...","archived":false,"fork":false,"pushed_at":"2017-03-14T21:20:13.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T06:09:09.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidB.png","metadata":{"files":{"readme":"README.adoc","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-14T21:42:00.000Z","updated_at":"2017-02-14T21:42:34.000Z","dependencies_parsed_at":"2023-02-22T09:45:14.769Z","dependency_job_id":null,"html_url":"https://github.com/davidB/sandbox_context_scala","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Fsandbox_context_scala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Fsandbox_context_scala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Fsandbox_context_scala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Fsandbox_context_scala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidB","download_url":"https://codeload.github.com/davidB/sandbox_context_scala/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241557120,"owners_count":19981877,"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":[],"created_at":"2024-11-13T18:27:53.174Z","updated_at":"2026-05-12T00:43:42.751Z","avatar_url":"https://github.com/davidB.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nWARNING: The project is WIP and very experimental !\n\n= Overview\n\nThe project is an experimental place for context management and propagation.\n\n== Goals \u0026 Requirements\n\n* Use OpenTracing api.\n* Do not provide a scala wrapper api for opentracing-java.\n* Provide Helpers for\n* Let developer (user of the lib) choose between explicit context propagation, implicit propagation or mixed (optionnated).\n\t* implicit mode off by default, need explicit setup\n\t* when implicit on, take care of context to not duplicate (eg. don't create  open tracing span with kind == \"jdbc\" if current span.kind == \"jdbc\" )\n\n\n= F.A.Q\n\n== How to enable implicit propagation ?\n\nIt should be done explicitly, :-P by:\n\n1. Create a link:./context-lib0/src/test/resources/META-INF/aop.xml[\"META-INF/aop.xml\"] file (available at runtime) where you enable/disable instrumentation (aspects) as you like.\n2. Add setup of static accessor (used by Aspects) to the initialization of your app\n3. Enable aspectj weaving (TODO)\n\n\n== Why not Kamon ?\n\nhttp://kamon.io[Kamon] is a great piece of code, and far more mature than this project.\nIt is an inspiration, and the lib used one of its sbt plugins. But it doesn't match our requirements:\n\n* Kamon is a \"all-in-one\",\n\t* tracing AND metrics, so it's duplication when you already have metrics and only want tracing\n* In the current version (0.6.6), doesn't support OpenTracing. And I don't see how to cleanly integrate\n\t* Concept are different Kamon Trace or Segment doesn't match OpenTracing Span (scope, propagation, feature)\n\t* It should be possible to create a reporter of Kamon Trace reporter, that convert into Span for OpenTracing backend, if developer (or lib) doesn't use OpenTracing API\n\t* Contact me for more info\n\n== Why not SpanManager (from opentracing contrib)\n\n= Links\n\n* https://opentracing.io[OpenTracing]\n* http://kamon.io[Kamon]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidb%2Fsandbox_context_scala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidb%2Fsandbox_context_scala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidb%2Fsandbox_context_scala/lists"}