{"_id":"@deal/opencensus-exporter-zipkin","_rev":"8-ebf890a2e34940631cc489acd558acf2","name":"@deal/opencensus-exporter-zipkin","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.6":{"name":"@deal/opencensus-exporter-zipkin","version":"0.0.6","description":"OpenCensus Zipkin Exporter allows the user to send collected traces with OpenCensus Node.js to Zipkin.","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-node.git"},"scripts":{"test":"nyc -x '**/test/**' --reporter=html --reporter=text mocha 'build/test/**/*.js'","clean":"rimraf build/*","check":"gts check","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"keywords":["opencensus","nodejs","tracing","profiling"],"author":{"name":"Google Inc."},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^2.2.48","@types/nock":"^9.1.3","@types/node":"^9.4.7","@types/semver":"^5.5.0","@types/uuid":"^3.4.3","gts":"^0.5.4","mocha":"^5.0.4","ncp":"^2.0.0","nock":"^9.2.6","nyc":"11.6.0","ts-node":"^4.0.0","typescript":"~2.6.1"},"dependencies":{"@deal/opencensus-core":"^0.0.6"},"contributors":[{"name":"Google LLC"},{"name":"CESAR Team","url":"www.cesar.org.br"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-node/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-node#readme","_id":"@deal/opencensus-exporter-zipkin@0.0.6","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"dealeng","email":"npm@deal.com"},"dist":{"integrity":"sha512-my/V6wMi3zGQZk8QwkHcDZrCYasgtcJRdHRVEpLpMJY8b1wHSS4yxvfcq8iaHFxSuA/W2s+PZ8KCvHXoK4qAxw==","shasum":"52a90365eaef5b42f52bcec07b1508d0bd9d1bbe","tarball":"https://registry.npmjs.org/@deal/opencensus-exporter-zipkin/-/opencensus-exporter-zipkin-0.0.6.tgz","fileCount":7,"unpackedSize":23587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmyj1CRA9TVsSAnZWagAA7ycP/Az7L2P/DGsjCn1H7jk+\nz32yiC7g0IHY8CU6p2jkUcK9/mOifO/Gl6WldTb2KGJlyvrCF3t8FVHkoywf\nWW6SoGvlQuCpwJQAxDK6UYdcj3M697/eXf2IrkZgUM4/FsoTPAyGNWbDA/TA\nlajeAe2jSzLuvfOJZgeIB5ZFumLJp/4G3XvlZHEl8lT7aayYyy9Cunf0CIdn\n0bNjOzS3FBEMSB1XhQr3sid/K7zmKliyMzRW+jlYmu5KdmAn2YSTPX+4RsEu\n4YfGY34yee+/6gJHKV5yA4oIQtk+xLFZhAafI0/yvAbd3m8VIMg5Ey1EsQe4\n7UBoO5A2XCuFZZg5hl10HgSCcom5gkCoPbuHxFhX93TiPAkyJmb1UYEAWrrt\nYBephNG624UX9RhrFWlP/5bJRZ49sgAC7d+awevr0DN99/k1YXNtNg4uQBkM\n5T6J0sGobfBijdBT5hKTzLoCqPHrAmke6xj5pB+d3fcAn0AlLHU3nggfYEi6\nO29kGW1mlUWlcm0bv5HSvzxL20fPU8jPY8FXG+f6ZGa7kYOAWi8zGlFAqula\nzT5WNT9AQso0ad8/QkIsd+XySnnkJZVZ/fpDq+4WXmJvMOIklpH9lPpORLE2\nco/9rQ7BdodolvjQVBObK64owP/b6rZV2YMvooIZ/z+oRlWhfV+KYLgTR3XK\nNvjb\r\n=2H+f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHLoGFSzJKBXlaBE3ShsrdbjDZNGWKmPEebPkKkMCcQtAiEAmhYvsO9ZaOENG73xFVho9bRoNHlZzC9GT3hojIFLnzU="}]},"maintainers":[{"name":"dealeng","email":"npm@deal.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencensus-exporter-zipkin_0.0.6_1536895221488_0.794872035397935"},"_hasShrinkwrap":false},"0.0.7":{"name":"@deal/opencensus-exporter-zipkin","version":"0.0.7","description":"OpenCensus Zipkin Exporter allows the user to send collected traces with OpenCensus Node.js to Zipkin.","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-node.git"},"scripts":{"test":"nyc -x '**/test/**' --reporter=html --reporter=text mocha 'build/test/**/*.js'","clean":"rimraf build/*","check":"gts check","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"keywords":["opencensus","nodejs","tracing","profiling"],"author":{"name":"Google Inc."},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^2.2.48","@types/nock":"^9.1.3","@types/node":"^9.4.7","@types/semver":"^5.5.0","@types/uuid":"^3.4.3","gts":"^0.5.4","mocha":"^5.0.4","ncp":"^2.0.0","nock":"^9.2.6","nyc":"11.6.0","ts-node":"^4.0.0","typescript":"~2.6.1"},"dependencies":{"@deal/opencensus-core":"^0.0.7"},"contributors":[{"name":"Google LLC"},{"name":"CESAR Team","url":"www.cesar.org.br"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-node/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-node#readme","_id":"@deal/opencensus-exporter-zipkin@0.0.7","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"dealeng","email":"npm@deal.com"},"dist":{"integrity":"sha512-qpbA6UvVSOabvmf1LEB7AO9VdP0hd+LibV63ndbuEE/xsPAbFKC2zGUzam287JLzxaRGWX0pTdTCaNg5+vOxaw==","shasum":"636890fdad9b83ecc0b5af0d1afeb798352dd5dc","tarball":"https://registry.npmjs.org/@deal/opencensus-exporter-zipkin/-/opencensus-exporter-zipkin-0.0.7.tgz","fileCount":7,"unpackedSize":23587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmyzICRA9TVsSAnZWagAADCoP/ixS1k+ipcrHY0AlWhMP\nVKo+Qb2ToMt5X2kYlL/F3hyjZkWnL7P+SDU7HIpY7Ij2Y2SCuheWNHj/mkCD\nfoy9ln5u9u4mWH9sZBaBTRGy/AUBRd6FgoYdd/bReMtQOJ2xLsZ//6e6FTJq\nq+xWNyJp4NevWYDe9lQRBu3zLNOjmYOTLfAz+bP9c9Hi4vO4adVbSHBSeXrJ\nyMTI5vvp3kXLee+HnM5bqXnmuFjxSDm5jf8QlROm4Wxv+jbbBf//vOJLTK06\nm5lRLVF/zAYzrLgSz/YqJRHWwxXN6jVFyEd8SjkPrjykzowlqydni/lZw/K/\nx+jdoqzGs3Wk8u/+pa6SvHLUDmLbjP5wGZA39m1dnxEPNL398N9mS3bJXlDE\nip2GXkd+bJgiszJjhZcsxd09zx5KrbCddQmHfm4hZ0q/ilpHZ1Y95Uwx0aIj\nprds4F5/ofL40eCSv8ZB0+5AyT03DQOy3GZKjseiKu7RQE/VT9P23P81hZs5\nGOBhvUcp+JqTuvk4+OoGjtreqFFlf83xqGOxQx1FYE3pfCMchiWEcOMQmO+k\nmcmo2Zf9i5/5fo0WrY0XDI+/NqEsA/cLlky1h66XJhT314mEW9BOP0zrmGCM\nq+NXownEfSwNrpmdLpH4iu/Y0cGm5ZHAIX5xfdYSy9l0nD0U7DNeTYdmBjtF\nVrj2\r\n=J3VW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD51Wv0cInO7QO9qbgnMJDPDRwnZWIZEvd2ngerIN/kSwIhAJlsmpEbliD4LAGKZLsetzVYr/ivQE44ORcuT4N4cTsy"}]},"maintainers":[{"name":"dealeng","email":"npm@deal.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencensus-exporter-zipkin_0.0.7_1536896199826_0.5642933342015901"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-14T03:20:21.409Z","0.0.6":"2018-09-14T03:20:21.587Z","modified":"2023-02-02T13:47:54.802Z","0.0.7":"2018-09-14T03:36:39.990Z"},"maintainers":[{"email":"npm@curated.com","name":"curated-infra"},{"email":"npm@deal.com","name":"dealeng"},{"email":"npm+dependabot@curated.com","name":"curated-dependabot"}],"description":"OpenCensus Zipkin Exporter allows the user to send collected traces with OpenCensus Node.js to Zipkin.","homepage":"https://github.com/census-instrumentation/opencensus-node#readme","keywords":["opencensus","nodejs","tracing","profiling"],"repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-node.git"},"contributors":[{"name":"Google LLC"},{"name":"CESAR Team","url":"www.cesar.org.br"}],"author":{"name":"Google Inc."},"bugs":{"url":"https://github.com/census-instrumentation/opencensus-node/issues"},"license":"Apache-2.0","readme":"# OpenCensus Zipkin Exporter for Node.js\n[![Gitter chat][gitter-image]][gitter-url]\n\nOpenCensus Zipkin Exporter allows the user to send collected traces with [OpenCensus Node.js](https://github.com/census-instrumentation/opencensus-node) to Zipkin.\n\nThis project is still at an early stage of development. It's subject to change.\n\n## Installation\n\nInstall OpenCensus Zipkin Exporter with:\n```bash\nnpm install @deal/opencensus-nodejs\nnpm install @deal/opencensus-exporter-zipkin\n```\n\n## Usage\n\nTo use Zipkin as your exporter, first, download from any of the three available options on [Quickstart](https://zipkin.io/pages/quickstart.html): through Docker, on Java or manually compiling the source code. Tests were executed running Zipkin with Java, through the following commands on terminal:\n\n```bash\nwget -O zipkin.jar 'https://search.maven.org/remote_content?g=io.zipkin.java&a=zipkin-server&v=LATEST&c=exec'\njava -jar zipkin.jar\n```\n\nInstance the exporter on your application and pass the options, it must contain a service name and, optionaly, an URL. If no URL is passed, `http://localhost:9411/api/v2/spans` is used as default.\n\nFor javascript:\n\n```javascript\nvar tracing = require('@deal/opencensus-nodejs');\nvar zipkin = require('@deal/opencensus-exporter-zipkin');\n\n// Add your zipkin url (ex http://localhost:9411/api/v2/spans)\n// and application name to the Zipkin options\nvar options = {\n  url: 'your-zipkin-url',\n  serviceName: 'your-application-name'\n}\nvar exporter = new zipkin.ZipkinTraceExporter(options);\n```\n\nSimilarly for Typescript:\n\n```typescript\nimport * as tracing from '@deal/opencensus-nodejs';\nimport { Zipkin } from '@deal/opencensus-exporter-zipkin';\n\n// Add your zipkin url (ex http://localhost:9411/api/v2/spans)\n// and application name to the Zipkin options\nconst options = {\n  url: 'your-zipkin-url',\n  serviceName: 'your-application-name'\n}\nconst exporter = new Zipkin(options);\n```\n\nNow, register the exporter and start tracing.\n\n```javascript\ntracing.start({'exporter': exporter});\n```\n\nor\n\n```javascript\ntracing.registerExporter(exporter).start();\n```\n\n## Useful links\n- For more information on OpenCensus, visit: <https://opencensus.io/>\n- To checkout the OpenCensus for Node.js, visit: <https://github.com/census-instrumentation/opencensus-node>\n- For help or feedback on this project, join us on [gitter](https://gitter.im/census-instrumentation/Lobby)\n\n[gitter-image]: https://badges.gitter.im/census-instrumentation/lobby.svg\n[gitter-url]: https://gitter.im/census-instrumentation/lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n","readmeFilename":"README.md"}