{"id":20968580,"url":"https://github.com/rnburn/ot-chat","last_synced_at":"2025-08-12T13:05:37.808Z","repository":{"id":70477712,"uuid":"130266459","full_name":"rnburn/ot-chat","owner":"rnburn","description":"Example of OpenTracing's plugin approach","archived":false,"fork":false,"pushed_at":"2018-06-21T20:47:31.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T07:44:30.078Z","etag":null,"topics":["boost-beast","cpp","jaeger","opentracing","zipkin"],"latest_commit_sha":null,"homepage":"","language":"C++","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/rnburn.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":"2018-04-19T20:00:40.000Z","updated_at":"2021-02-22T05:47:21.000Z","dependencies_parsed_at":"2023-02-22T11:01:33.598Z","dependency_job_id":null,"html_url":"https://github.com/rnburn/ot-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rnburn/ot-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnburn%2Fot-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnburn%2Fot-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnburn%2Fot-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnburn%2Fot-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnburn","download_url":"https://codeload.github.com/rnburn/ot-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnburn%2Fot-chat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270065427,"owners_count":24520946,"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-08-12T02:00:09.011Z","response_time":80,"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":["boost-beast","cpp","jaeger","opentracing","zipkin"],"created_at":"2024-11-19T03:14:25.840Z","updated_at":"2025-08-12T13:05:37.774Z","avatar_url":"https://github.com/rnburn.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ot-chat-example\n\n`ot-chat` reconstructs [sockets.io](https://socket.io/get-started/chat/)'s chat example\nusing [Boost.Beast](https://github.com/boostorg/beast) and instruments it for\ndistributed tracing.\n\nExamples have been set up with `docker-compose` for LightStep, Jaeger, and\nZipkin. To run, follow these instructions:\n\n```sh\n# LightStep\ncd lightstep\nexport LIGHTSTEP_ACCESS_TOKEN=\u003cyour access token\u003e\ndocker-compose up\n\n# Jaeger\ncd jaeger\ndocker-compose up\n\n# Zipkin\ncd zipkin\ndocker-compose up\n```\n\nThen visit [`http://localhost:8080`](http://localhost:8080).\n\n`ot-chat` demonstrates\n1. Pluggable tracing using OpenTracing's dynamic loading API. See `load_tracer` in [configuration.cpp](https://github.com/rnburn/ot-chat/blob/master/src/configuration.cpp#L41).\n2. Embedding of the tracer's JSON configuration with the application's configuration. See [configuration.proto](https://github.com/rnburn/ot-chat/blob/master/configuration.proto#L21).\n3. Context propagation with JavaScript using a JSON text map encoding. See [message.cpp](https://github.com/rnburn/ot-chat/blob/master/src/message.cpp) and [index.html.in](https://github.com/rnburn/ot-chat/blob/master/lightstep/init/index.html.in).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnburn%2Fot-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnburn%2Fot-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnburn%2Fot-chat/lists"}