{"id":27429591,"url":"https://github.com/ihaolin/dubbo-trace","last_synced_at":"2025-10-08T21:50:37.027Z","repository":{"id":53094025,"uuid":"74625916","full_name":"ihaolin/dubbo-trace","owner":"ihaolin","description":"基于Dubbo的分布式系统调用跟踪Demo","archived":false,"fork":false,"pushed_at":"2017-06-29T02:31:28.000Z","size":34,"stargazers_count":69,"open_issues_count":3,"forks_count":58,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-09-08T19:41:38.724Z","etag":null,"topics":["distributed","dubbo","trace"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/ihaolin.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}},"created_at":"2016-11-24T01:00:44.000Z","updated_at":"2024-05-14T02:13:50.000Z","dependencies_parsed_at":"2022-08-30T18:21:53.101Z","dependency_job_id":null,"html_url":"https://github.com/ihaolin/dubbo-trace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ihaolin/dubbo-trace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihaolin%2Fdubbo-trace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihaolin%2Fdubbo-trace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihaolin%2Fdubbo-trace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihaolin%2Fdubbo-trace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ihaolin","download_url":"https://codeload.github.com/ihaolin/dubbo-trace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihaolin%2Fdubbo-trace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000701,"owners_count":26082837,"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-08T02:00:06.501Z","response_time":56,"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":["distributed","dubbo","trace"],"created_at":"2025-04-14T14:28:23.776Z","updated_at":"2025-10-08T21:50:36.995Z","avatar_url":"https://github.com/ihaolin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 基于dubbo的分布式系统调用跟踪demo\n\nQuick Start：\n\n+ 确保[zipkin server](http://zipkin.io/)已经正常启动；\n+ 确保[zookeeper](http://zookeeper.apache.org/)已经正常启动：\n+ 分别运行以下命令：\n\n\t+ 克隆项目：\n\t\n\t\t```bash\n\t\tgit clone git@github.com:ihaolin/dubbo-trace.git\n\t\t```\n\t\n\t+ 编辑``trace-demo``各项目对应配置：\n\n\t\t+ app.properties：\n\n\t\t\t```\n\t\t\t# dubbo注册中心\n\t\t\tdubbo.registry=zookeeper://localhost:2181\n\t\t\t```\n\t\t\n\t\t+ trace.yml:\n\n\t\t\t```\n\t\t\t# ...\n\n\t\t\t# zipkin-server http地址\n\t\t\tserver: 'localhost:9411'\n\n\t\t\t# ...\n\t\t\t```\n\t\t\n\t+ 安装项目：\n\n\t\t```bash\n\t\tmvn clean install -DskipTests\n\t\t```\n\t\n\t+ 运行user服务:\n\n\t\t```bash\n\t\t./run_user.sh\n\t\t```\n\t\n\t+ 运行order服务:\n\n\t\t```bash\n\t\t./run_order.sh\n\t\t```\n\t\n\t+ 运行web服务：\n\n\t\t```bash\n\t\t./run_web.sh\n\t\t```\n\t\n\t+ 在浏览器请求：\n\n\t\t```\n\t\thttp://localhost:10000/api/orders/create\n\t\t```\n\t\n\t+ 即可zipkin-server中查看跟踪记录。\n\n+ 具体细节可参见[这篇文章](https://t.hao0.me/devops/2016/10/15/distributed-invoke-trace.html)。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihaolin%2Fdubbo-trace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fihaolin%2Fdubbo-trace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihaolin%2Fdubbo-trace/lists"}