{"_id":"@danielkoehler/exporter-zipkin","_rev":"1-ba99ac28502868484a5c0ba3516373aa","name":"@danielkoehler/exporter-zipkin","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.9":{"name":"@danielkoehler/exporter-zipkin","version":"0.0.9","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 mocha build/test/**/*.js","codecov":"nyc report --reporter=json && codecov -f coverage/*.json","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":"^5.2.5","@types/nock":"^9.1.3","@types/node":"^10.12.12","@types/semver":"^5.5.0","@types/uuid":"^3.4.3","codecov":"^3.1.0","gts":"^0.9.0","mocha":"^6.0.0","ncp":"^2.0.0","nock":"^10.0.0","nyc":"13.3.0","ts-node":"^8.0.0","typescript":"~3.2.0"},"dependencies":{"@danielkoehler/core":"^0.0.9"},"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":"@danielkoehler/exporter-zipkin@0.0.9","_shasum":"08dc718449735e39ca935c0be99be019f783787c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.16.0","_npmUser":{"name":"danielkoehler","email":"koehlerda@icloud.com"},"dist":{"shasum":"08dc718449735e39ca935c0be99be019f783787c","tarball":"https://registry.npmjs.org/@danielkoehler/exporter-zipkin/-/exporter-zipkin-0.0.9.tgz","integrity":"sha512-CoMW+1DVzwbnT0IOoDCGlpT/lY2ajSE/XQit/Fu9ZnNk3lPK1ePiGposst/MwxQZqqvUOwffymJwtslRH35NAg==","fileCount":3,"unpackedSize":15749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchmdVCRA9TVsSAnZWagAAbR8P/RVYHQImlgR5f4c4RLRQ\nr07s9Sk309YWKvA2MJFXnXq2o0HSFA9O4dUYqAkZwguJGYtTcmNMjRAyoi1y\nC1bXEAg3V1OPc1Q/mhSr5Pv1iyv7/L9PeWN5U/RIsHe4GC9ecLTNRZZy6+eC\nHi2jEvnrZkMNpxEQp6aKEFtDtpwc64MuAqNX8NyvdYOyxy1Bt8BSLLKSyGra\nSkhuJZUqpmGMyEqdyCCArn/CBjY5EVZQE1yXbDLSDxlGku5kZkteRhKZjZ6P\nmdHvl9AX508QJyifq57JBGtdIowsCIRUIXMBEq8wz/2zrsqyXIhijXNQaTJb\nxE1v6wDB1/LtwGoDMc7dfGVgBoCnwYAf6UN/w2q7djrXQnzguMHH+LDYDu9z\n+hAgjmaXCOaed4CRPEMHmjD108lKcD0FqcVD70sJB3+qHtdYvfNU0z61B5nE\no5ooNUaEYoO6e9TcoZqxdG2+cT9ugiD2Z1bsx/g5OP7KW7QTljS6gkp2q7PR\neyUSxgZH1OzhM08b+BRNGjf1j8uEy2jz743kasqlmuioMPDxzNz0hTKu+U41\nwR1rshEiw5qhD9+wfuZA5BKaHCVNSq5MF00QH+gsuy2PRgZVaXZg8fYaYxH9\nlk8vMjDx4Znq8hEa+ObprOD8vqfZl85FOZ2dtK5fDgpcoGzfNGUI409ibPwz\nK03A\r\n=cALw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAP5m+YCG2CbwJVOF5RYwwivigiFz2/TWJVbr/XiEe4QIgUZhvp+g/qYZ1qhXPL89yqkmzLc0UtXyTqcixbNdAAlI="}]},"maintainers":[{"name":"danielkoehler","email":"koehlerda@icloud.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exporter-zipkin_0.0.9_1552312148545_0.4471412582063532"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-11T13:49:08.348Z","0.0.9":"2019-03-11T13:49:08.644Z","modified":"2022-04-05T02:41:08.041Z"},"maintainers":[{"name":"danielkoehler","email":"koehlerda@icloud.com"}],"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 Trace Exporter\n[![Gitter chat][gitter-image]][gitter-url]\n\nOpenCensus Zipkin Trace Exporter allows the user to send collected traces with [OpenCensus Node.js](https://github.com/census-instrumentation/opencensus-node) to Zipkin.\n\n[Zipkin](http://zipkin.io/) is a distributed\ntracing system. It helps gather timing data needed to troubleshoot\nlatency problems in microservice architectures. It manages both the\ncollection and lookup of this data.\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 @opencensus/nodejs\nnpm install @opencensus/exporter-zipkin\n```\n\n## Usage\n\nTo use [Zipkin](http://zipkin.io/) 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\nconst tracing = require('@opencensus/nodejs');\nconst zipkin = require('@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.ZipkinTraceExporter(options);\n```\n\nSimilarly for Typescript:\n\n```typescript\nimport * as tracing from '@opencensus/nodejs';\nimport { Zipkin } from '@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## Viewing your traces:\nPlease visit the Zipkin UI endpoint http://localhost:9411\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 Zipkin project at https://zipkin.io/\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"}