{"name":"@opentelemetry/exporter-jaeger","version":"0.18.3-alpha.14","description":"OpenTelemetry Exporter Jaeger allows user to send collected traces to Jaeger","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/open-telemetry/opentelemetry-js.git"},"scripts":{"compile":"tsc --build","clean":"tsc --build --clean","test":"nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'","tdd":"npm run test -- --watch-extensions ts --watch","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix","version":"node ../../scripts/version-update.js","watch":"tsc --build --watch"},"keywords":["opentelemetry","nodejs","tracing","profiling","jaeger"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/resources":"^0.18.3-alpha.14+4a3fd1f4","@types/mocha":"8.2.2","@types/node":"14.14.37","@types/sinon":"9.0.11","codecov":"3.8.1","gts":"3.1.0","mocha":"7.2.0","nock":"12.0.3","nyc":"15.1.0","rimraf":"3.0.2","sinon":"9.2.4","ts-mocha":"8.0.0","ts-node":"9.1.1","typescript":"4.2.3"},"peerDependencies":{"@opentelemetry/api":"^1.0.0-rc.0"},"dependencies":{"@opentelemetry/core":"^0.18.3-alpha.14+4a3fd1f4","@opentelemetry/tracing":"^0.18.3-alpha.14+4a3fd1f4","jaeger-client":"^3.15.0"},"gitHead":"4a3fd1f4d86499e4485c1f1af0f5589de993b0dd","readme":"# OpenTelemetry Jaeger Trace Exporter for Node.js\n\n[![NPM Published Version][npm-img]][npm-url]\n[![dependencies][dependencies-image]][dependencies-url]\n[![devDependencies][devDependencies-image]][devDependencies-url]\n[![Apache License][license-image]][license-image]\n\nOpenTelemetry Jaeger Trace Exporter allows the user to send collected traces to Jaeger.\n\n[Jaeger](https://jaeger.readthedocs.io/en/latest/), inspired by [Dapper](https://research.google.com/pubs/pub36356.html) and [OpenZipkin](http://zipkin.io/), is a distributed tracing system released as open source by [Uber Technologies](http://uber.github.io/). It is used for monitoring and troubleshooting microservices-based distributed systems, including:\n\n- Distributed context propagation\n- Distributed transaction monitoring\n- Root cause analysis\n- Service dependency analysis\n- Performance / latency optimization\n\n## Prerequisites\n\nThis project relies on [jaeger-client](https://github.com/jaegertracing/jaeger-client-node) library and is thus only supported for **Node.js**.\n\nGet up and running with Jaeger in your local environment.\n\n[Jaeger](https://www.jaegertracing.io/docs/latest/) stores and queries traces exported by\napplications instrumented with OpenTelemetry. The easiest way to [start a Jaeger\nserver](https://www.jaegertracing.io/docs/latest/getting-started/) is to paste the below:\n\n```bash\ndocker run -d --name jaeger \\\n  -e COLLECTOR_ZIPKIN_HTTP_PORT=9411 \\\n  -p 5775:5775/udp \\\n  -p 6831:6831/udp \\\n  -p 6832:6832/udp \\\n  -p 5778:5778 \\\n  -p 16686:16686 \\\n  -p 14268:14268 \\\n  -p 9411:9411 \\\n  jaegertracing/all-in-one:latest\n```\n\nOr run the `jaeger-all-in-one(.exe)` executable from the [binary distribution archives](https://www.jaegertracing.io/download/):\n\n```bash\njaeger-all-in-one --collector.zipkin.http-port=9411\n```\n\nYou can then navigate to <http://localhost:16686> to access the Jaeger UI.\n\n## Installation\n\n```bash\nnpm install --save @opentelemetry/exporter-jaeger\n```\n\n## Usage\n\nInstall the exporter on your application and pass the options, it must contain a service name.\n\nFurthermore, the `host` option (which defaults to `localhost`), can instead be set by the\n`OTEL_EXPORTER_JAEGER_AGENT_HOST` environment variable to reduce in-code config. If both are\nset, the value set by the option in code is authoritative.\n\n```js\nimport { JaegerExporter } from '@opentelemetry/exporter-jaeger';\n\nconst options = {\n  serviceName: 'my-service',\n  tags: [], // optional\n  // You can use the default UDPSender\n  host: 'localhost', // optional\n  port: 6832, // optional\n  // OR you can use the HTTPSender as follows\n  // endpoint: 'http://localhost:14268/api/traces',\n  maxPacketSize: 65000 // optional\n}\nconst exporter = new JaegerExporter(options);\n```\n\nNow, register the exporter.\n\n```js\ntracer.addSpanProcessor(new BatchSpanProcessor(exporter));\n```\n\nYou can use built-in `SimpleSpanProcessor` or `BatchSpanProcessor` or write your own.\n\n- [SimpleSpanProcessor](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/sdk.md#simple-processor): The implementation of `SpanProcessor` that passes ended span directly to the configured `SpanExporter`.\n- [BatchSpanProcessor](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/sdk.md#batching-processor): The implementation of the `SpanProcessor` that batches ended spans and pushes them to the configured `SpanExporter`. It is recommended to use this `SpanProcessor` for better performance and optimization.\n\n## Useful links\n\n- To know more about Jaeger, visit: <https://www.jaegertracing.io/docs/latest/getting-started/>\n- For more information on OpenTelemetry, visit: <https://opentelemetry.io/>\n- For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js>\n- For help or feedback on this project, join us in [GitHub Discussions][discussions-url]\n\n## License\n\nApache 2.0 - See [LICENSE][license-url] for more information.\n\n[discussions-url]: https://github.com/open-telemetry/opentelemetry-js/discussions\n[license-url]: https://github.com/open-telemetry/opentelemetry-js/blob/main/LICENSE\n[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat\n[dependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js.svg?path=packages%2Fopentelemetry-exporter-jaeger\n[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-exporter-jaeger\n[devDependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js.svg?path=packages%2Fopentelemetry-exporter-jaeger&type=dev\n[devDependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-exporter-jaeger&type=dev\n[npm-url]: https://www.npmjs.com/package/@opentelemetry/exporter-jaeger\n[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Fexporter-jaeger.svg\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","_id":"@opentelemetry/exporter-jaeger@0.18.3-alpha.14","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-QTMv4YZyQLFinWhgxLFmgC9KO+nnBZDWHf8s/SInzSxum/9vuzye5yxOi3jEfDKf+XAR90DIxYlzUiLltVRZYg==","shasum":"0158131766f2a7239e2fdfa5c91fe0337c49a7b9","tarball":"http://registry-npm.ywwl.com/@opentelemetry/exporter-jaeger/download/@opentelemetry/exporter-jaeger-0.18.3-alpha.14.tgz","fileCount":18,"unpackedSize":44823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcBpOCRA9TVsSAnZWagAA6H0P/1H81t0soDEPyK7DTIH6\n5wDhT3mtW9BMFvJ60mE9J0mjWoXp5MEfTO8SGoedinneJwHKdsl9RXLqJcWX\nZqD+BfrD7ACcSnJH75s4vIfyTh1glgu6+1RQQjlaWM2NLDtLrohxPSGt7IEm\nuXIOtbHLPwlIyEmxhXerIWOo6Ww3gc/Tx0dV/S40L1NfM9WgxBHL9Tm9NfPN\nD2/B9/pCP9EixpMTcDsm8VKMz83j1MvsxECSZydn6+jb5xEEI8oWCTJC7ZB0\nntHazhNxk4wN7skds+nnMj8TSplba9/tfMj84deRd/ck/naxUrLKLGoC4LBf\nzPLG3gxLG8M6ndoVy5BotNYQmm14QEvm8IY1zjqHlt2nyUoc3DVfPGTs704A\n/3vC6377i0T4oyPaPwS6iebaMBDGG5Tew5fK0UmkXGort3AeLS1Ip/xzDvSX\ndF5HcqKJJOcrozXLUBCk1OJFDGUOxHzZv0Q9MRiAQHT+Et6aBtX0Y7TpipLp\nLYTDajTg4jfPvk/iMuD4jckIqxVvSaxj7jtH4yxay9M8ib3InW9D83g7KvZ5\nN7E037TFfdHn2dLk4J2IttKtHb1i1SoYGCkH8tYGNKZjtrjEUP1L6Giw9474\n92p1xn4UKTfv7QcJMVEPSnTISKnmxALi/CLr1/5qQ2n6VNdyM3s7UR+q6tWk\nfPKZ\r\n=qy43\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICP73y8ORaXW3hLBGi+qX8vj/f9MfCO6sBMnOwg2R0mmAiBte5FsaNAoQvD34J2dGYafF8Zvw1XntwIaXT0jaa8MmQ=="}],"size":13200,"noattachment":false,"key":"/@opentelemetry/exporter-jaeger/-/@opentelemetry/exporter-jaeger-0.18.3-alpha.14.tgz"},"_npmUser":{"name":"dyladan","email":"dyladan@gmail.com"},"directories":{},"maintainers":[{"name":"mayurkale22","email":"mayurkale22@gmail.com"},{"name":"bogdandrutu","email":"bogdandrutu@gmail.com"},{"name":"dyladan","email":"dyladan@gmail.com"},{"name":"obecny","email":"bobecny@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exporter-jaeger_0.18.3-alpha.14_1617959502259_0.4622829866984197"},"_hasShrinkwrap":false,"publish_time":1617959502468,"deprecated":"Package no longer supported. See https://github.com/open-telemetry/opentelemetry-js/pull/7098","_cnpm_publish_time":1617959502468,"dist-tags":{"canary":"2.11.0-development.0","latest":"2.12.0","next":"1.8.0"}}