{"id":37431857,"url":"https://github.com/m3dev/m3-tracing","last_synced_at":"2026-01-16T06:35:50.916Z","repository":{"id":137833610,"uuid":"180299354","full_name":"m3dev/m3-tracing","owner":"m3dev","description":"Wrapper of Distributed Tracing SDK","archived":false,"fork":false,"pushed_at":"2024-02-05T09:52:20.000Z","size":238,"stargazers_count":4,"open_issues_count":1,"forks_count":4,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-06-08T16:03:26.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/m3dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-04-09T06:25:28.000Z","updated_at":"2023-06-20T05:45:54.000Z","dependencies_parsed_at":"2023-05-23T21:45:52.283Z","dependency_job_id":null,"html_url":"https://github.com/m3dev/m3-tracing","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/m3dev/m3-tracing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m3dev%2Fm3-tracing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m3dev%2Fm3-tracing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m3dev%2Fm3-tracing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m3dev%2Fm3-tracing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m3dev","download_url":"https://codeload.github.com/m3dev/m3-tracing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m3dev%2Fm3-tracing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-16T06:35:50.815Z","updated_at":"2026-01-16T06:35:50.883Z","avatar_url":"https://github.com/m3dev.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository provides distributed tracing wrapper libraries which we use in our company. \n\n# Aim of these libraries\n\n- Provide unified/tested sets of libraries\n  - No need to load/maintain various `contrib` libraries\n- Provide high-level \u0026 simple interfaces over tracing standard APIs (e.g. OpenCensus)\n  - No need to know details of APIs\n  - Provide simple interfaces\n  - Hide complicated object lifecycles of APIs (hide error prone things from you)\n\n# Non-goal of these libraries\n\n- Do not aim to provide `agent`, _you need to activate/call these libraries explicitly_\n  - We do not prefer to use dynamic code rewriting / monkey patching\n- Do not aim to support all kinds of libraries in the world (HTTP client library, logging library, ...)\n  - We focus on usecases or scenarios appearing in our work.\n  - If you want to add any kinds of library support which is not supported by us, please feel free to fork this repository.\n\n# How to start\n\n## Java\n\nSee [jvm/README](jvm/README.md).\n\n# Features\n\n## Feature matrix\n\n| Feature                                      | Java (core)                                   | Spring                       | Play (Scala)            |\n|---------------------------------------------:|-----------------------------------------------|------------------------------| ------------------------|\n| Supported runtime                            | JRE \u003e= 8 (since 2.x,  JRE \u003e= 17 supported)    | ( Same as Java )             | ( Same as Java )        |\n| Capture incoming HTTP request                | Servlet \u003e= 3.0.1                              | Spring Web                   | Play ?.?                |\n| Capture \u0026 Propagate to outgoing HTTP request | Commons HTTP client \u003e= ?.?, async-http-client | RestTemplate                 | ?????? (Play)           |\n| Capture database call                        | p6spy support for JDBC/RDBMS                  | ( Same as Java )             | ( Same as Java )        |\n| Multi-thread                                 | ( Custom context machanism )                  | ( Same as Java )             | Future wrapper (Play)   |\n| Log correlation                              | SLF4J, Log4j                                  | ( Same as Java )             | ( Same as Java )        |\n| Capture method invocation                    |                                               | method annotation AOP        | Play: ????              |\n| Dependency injection                         |                                               | AutoConfiguration (Boot)     | ????                    |\n\nSummaries of each features are described below. Supplemental documents for each languages are provided to see how to use/enable them.\n\n## Feature: Capture incoming HTTP requests\n\nA trace/span is automatically created for each incoming request.\n\n## Feature: Capture \u0026 Propagate to outgoing HTTP requests\n\n- The library creates one span for each outgoing request, which helps to know durations/summaries of your outgoing requests\n- This library adds `Trace ID` to outgoing HTTP requests\n  - If destination service uses this library, we can trace requests over services (-\u003e \"distributed\" tracing)\n\n## Feature: Capture database call\n\nThe library yields spans for each database call.\n\n## Feature: Multi-thread\n\nThe library wraps multi-thread (async) operations and propagate thread-bounded trace/span to threads.\n\n## Feature: Log correlation\n\nYou can output `Trace ID` in logs to distinguish which trace/span logs are related.\n\n## Feature: Capture any method invocation\n\nYou can capture method calls of your own classes.\n\n## Feature: Dependency injection\n\nThe library provides DI configuration so that you can get objects from DI context.\n\n## Note: Jakarta namespace support\n\nSince 2.x, m3-tracing supports Jakarta namespace(Jakarta EE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm3dev%2Fm3-tracing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm3dev%2Fm3-tracing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm3dev%2Fm3-tracing/lists"}