{"id":15077734,"url":"https://github.com/andream16/go-opentracing-example","last_synced_at":"2025-10-14T15:07:43.905Z","repository":{"id":54369684,"uuid":"337208433","full_name":"andream16/go-opentracing-example","owner":"andream16","description":"opentracing-go example that generates a trace and child spans across http, grpc, kafka and postgresql.","archived":false,"fork":false,"pushed_at":"2025-08-19T09:10:11.000Z","size":256,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T15:06:23.303Z","etag":null,"topics":["go","grpc","http","jaeger","jaegertracing","kafka","opentracing","span","traces","tracing"],"latest_commit_sha":null,"homepage":"","language":"Go","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/andream16.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-02-08T21:01:27.000Z","updated_at":"2025-08-19T09:10:15.000Z","dependencies_parsed_at":"2025-10-14T15:06:24.704Z","dependency_job_id":null,"html_url":"https://github.com/andream16/go-opentracing-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andream16/go-opentracing-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2Fgo-opentracing-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2Fgo-opentracing-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2Fgo-opentracing-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2Fgo-opentracing-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andream16","download_url":"https://codeload.github.com/andream16/go-opentracing-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2Fgo-opentracing-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019293,"owners_count":26086709,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["go","grpc","http","jaeger","jaegertracing","kafka","opentracing","span","traces","tracing"],"created_at":"2024-09-25T04:31:09.742Z","updated_at":"2025-10-14T15:07:43.889Z","avatar_url":"https://github.com/andream16.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-opentracing-example\n\nEnd-to-end go [opentracing](https://opentracing.io/) example using [jaeger](https://github.com/jaegertracing/jaeger) as tracer.\n\nThis example shows how to leverage open tracing to see a span that covers the following flow:\n\n![1](./docs/architecture.png)\n\nAs you can see:\n - a span is started by performing an HTTP request to the `http-sever-initiator` that calls `http-sever-receiver` over HTTP in turn\n - `http-sever-receiver` calls `grpc-server` over GRPC after having registered a child span\n - `grpc-server` publishes a message into kafka and returns a successful response upstream after having registered a child span\n - `kafka-consumer` consumes the message from the `todos` topic and creates a new record in the `todos` table. \n   It creates two spans: one for the time spent in the whole consumer logic and one for the time spent during the database query.\n   \n## How to run\nYou can run the project using `docker-compose up` (tbd)\n\n## TODOS\n - Write solid documentation.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandream16%2Fgo-opentracing-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandream16%2Fgo-opentracing-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandream16%2Fgo-opentracing-example/lists"}