{"id":21193664,"url":"https://github.com/danielmschmidt/zipkin-javascript-opentracing","last_synced_at":"2025-07-10T03:32:55.148Z","repository":{"id":26497991,"uuid":"108824309","full_name":"DanielMSchmidt/zipkin-javascript-opentracing","owner":"DanielMSchmidt","description":"Opentracing implementation for Zipkin in Javascript","archived":false,"fork":false,"pushed_at":"2024-03-26T05:22:22.000Z","size":905,"stargazers_count":19,"open_issues_count":23,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-26T12:21:57.724Z","etag":null,"topics":["opentracing","performance","performance-metrics","performance-monitoring","zipkin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/DanielMSchmidt.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,"publiccode":null,"codemeta":null}},"created_at":"2017-10-30T08:46:17.000Z","updated_at":"2024-06-18T16:53:23.323Z","dependencies_parsed_at":"2024-03-25T20:36:48.010Z","dependency_job_id":"43e829c1-91bf-4d92-99c9-1418622c0162","html_url":"https://github.com/DanielMSchmidt/zipkin-javascript-opentracing","commit_stats":{"total_commits":189,"total_committers":14,"mean_commits":13.5,"dds":0.5238095238095238,"last_synced_commit":"62bcc833a5f94ac0bc64af19cd2264a2c92cdef1"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fzipkin-javascript-opentracing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fzipkin-javascript-opentracing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fzipkin-javascript-opentracing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fzipkin-javascript-opentracing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielMSchmidt","download_url":"https://codeload.github.com/DanielMSchmidt/zipkin-javascript-opentracing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225615164,"owners_count":17496946,"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":["opentracing","performance","performance-metrics","performance-monitoring","zipkin"],"created_at":"2024-11-20T19:15:12.261Z","updated_at":"2024-11-20T19:15:13.046Z","avatar_url":"https://github.com/DanielMSchmidt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zipkin-Javascript-Opentracing [![Build Status](https://travis-ci.org/DanielMSchmidt/zipkin-javascript-opentracing.svg?branch=master)](https://travis-ci.org/DanielMSchmidt/zipkin-javascript-opentracing) [![Coverage Status](https://coveralls.io/repos/github/DanielMSchmidt/zipkin-javascript-opentracing/badge.svg?branch=master)](https://coveralls.io/github/DanielMSchmidt/zipkin-javascript-opentracing?branch=master)\n\n## Installation\n\nRun `npm install --save zipkin-javascript-opentracing` to install the library.\n\nFor usage instructions, please see the examples in the [`examples/`](examples/)\ndirectory. There is a [basic vanilly\njavascript](https://github.com/DanielMSchmidt/zipkin-javascript-opentracing/tree/master/examples/vanillajs/basic)\nexample that shows how to use the tracer in the context of a single express\nserver and there is an [advanced vanilla\njavascript](https://github.com/DanielMSchmidt/zipkin-javascript-opentracing/tree/master/examples/vanillajs/advanced)\nexample that shows how multiple services (express API and frontend) might\ninteract and share a tracing context.\n\n## Limitations\n\n### injecting and ejecting\n\nWe currently only support HTTP Headers. If you need your own mechanism, feel\nfree to do a PR. Also we assume that you only inject the HTTP Headers once,\notherwise we will send multiple `ClientSend` annotations for you.\n\nAlso you can only finish spans which were not extracted. If you like this\nbehaviour to be different, please open an issue.\n\n### Flags\n\nThey are currently not supported, feel free to do a PR.\n\n### Follows From (zipkin)\n\nFollowsFrom is not supported by openTracing, as far as I understand.\n\n### Additional options for starting a span\n\nWe need to know if this is a server or client to set the right annotations.\nTherefore we need the kind attribute to be set.\n\n## Example\n\nAll examples need to run zipkin on `\"localhost:9411\"`. This is best achieved by\nusing docker:\n\n```bash\ndocker run -d -p 9411:9411 openzipkin/zipkin\n```\n\n### Basic\n\nTo see how to use this library with only one service see\n`examples/vanillajs/basic`. You can run the example with `npm run example:basic`.\n\n### Advanced\n\nIn order to see how different services may pick up spans and extend them, please\nsee the advanced example at `examples/vaniallajs/advanced`. You can run the\nexample with `npm run example:advanced`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmschmidt%2Fzipkin-javascript-opentracing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielmschmidt%2Fzipkin-javascript-opentracing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmschmidt%2Fzipkin-javascript-opentracing/lists"}