{"name":"@opentelemetry/exporter-jaeger","version":"0.10.3-alpha.28","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":{"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 ../../","clean":"rimraf build/*","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix","precompile":"tsc --version","version:update":"node ../../scripts/version-update.js","compile":"npm run version:update && tsc -p .","prepare":"npm run compile","watch":"tsc -w"},"keywords":["opentelemetry","nodejs","tracing","profiling","jaeger"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@opentelemetry/resources":"^0.10.3-alpha.28+d68ff0f","@types/mocha":"8.0.2","@types/node":"14.0.27","codecov":"3.7.2","gts":"2.0.2","mocha":"7.2.0","nock":"12.0.3","nyc":"15.1.0","rimraf":"3.0.2","ts-mocha":"7.0.0","ts-node":"8.10.2","typescript":"3.9.7"},"dependencies":{"@opentelemetry/api":"^0.10.2","@opentelemetry/core":"^0.10.2","@opentelemetry/tracing":"^0.10.3-alpha.28+d68ff0f","jaeger-client":"^3.15.0"},"gitHead":"d68ff0fb7594f6a367cb7a5057cfb2875e8c082f","readme":"# OpenTelemetry Jaeger Trace Exporter for Node.js\n\n[![Gitter chat][gitter-image]][gitter-url]\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\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`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/sdk-tracing.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/sdk-tracing.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 on [gitter][gitter-url]\n\n## License\n\nApache 2.0 - See [LICENSE][license-url] for more information.\n\n[gitter-image]: https://badges.gitter.im/open-telemetry/opentelemetry-js.svg\n[gitter-url]: https://gitter.im/open-telemetry/opentelemetry-node?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n[license-url]: https://github.com/open-telemetry/opentelemetry-js/blob/master/LICENSE\n[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat\n[dependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js/status.svg?path=packages/opentelemetry-exporter-jaeger\n[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-exporter-jaeger\n[devDependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js/dev-status.svg?path=packages/opentelemetry-exporter-jaeger\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.10.3-alpha.28","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.1/node@v14.7.0+x64 (linux)","dist":{"integrity":"sha512-h6WT6IP6/gj5mOEnAzinrBHOKWrRZQEFoaPOH0u2v1sKEP0oIp8ZplKxoXI/PkqY+EhBFFxDpvutBV1p1BHMlg==","shasum":"660795f920a24e312659bf22ccdae74f54f236f7","tarball":"http://registry-npm.ywwl.com/@opentelemetry/exporter-jaeger/download/@opentelemetry/exporter-jaeger-0.10.3-alpha.28.tgz","fileCount":21,"unpackedSize":43529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPT9rCRA9TVsSAnZWagAAtc0QAJhksop32K1R9mYDkue3\ndRABzR0zEZR8UoMGm+rhlHT+7ZkIbkw/fOn4iiioPI7us/yQywsdZhIi5QLH\ne4VaUgUs1Drh8RKK5EaHLnoE2TAyH3IJ+S4GgaSSxYJ+kWr5OWXV55OER1a7\nIt1Pa1OjT9iN+h0eMhTHZh0SotvMcSc7W7h70BnvlbIAYI930h6MY0dphs+0\n1bYR6RyMtF50JSaU6/5EYSYoZ/RQDBylGQk6FBvnrblME7kD4BIyos+FW3vO\nyjofh9qK/mYCiOsyfn939hlNwy9tzxCPScAf3oJffi7nbpBiv+xKu3dFkt2i\npHRoa5b4recz14ZlhC/+LiSCBQ4KTxe8Dkgte+iUvKEXPP7uTl00iTW822UV\ndFK0+IDMS19K4R21IS9YowEuCS+Fb/cFh4K652R/8aTWAt/74HKbRufcMhlG\nxALaZQApQT/od66ARjag0GZpCSZL6Eowt6jetNXG0FnLUYjOpJJyegSE6P9x\natAjNuZqhczAhHJxoTJSbpyC9TQRvWGuG8p0zjmN7C9R6X7KfyirbnduX6w9\nBXOC9liKexZ9/ZOM8oz0BFXZwBlXGItYCQo8OToE0VfjmouArMlbOteSChMq\nnEsd+DDArKOlpt9oQMCRI0RlEa7M23aDoja2Ifs9OAIBgGpDcDJx1kh/SSpb\nU5lm\r\n=GaQb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFruSKAxsgSecbaHPqDWWLPF2W0wejaqCOENUOF4YwoFAiBKVqiyGZNWwg0WkyF6gX6ufaeDQ7E6okSt9rZlx5sQ3g=="}],"size":13029,"noattachment":false,"key":"/@opentelemetry/exporter-jaeger/-/@opentelemetry/exporter-jaeger-0.10.3-alpha.28.tgz"},"maintainers":[{"email":"bogdandrutu@gmail.com","name":"bogdandrutu"},{"email":"dyladan@gmail.com","name":"dyladan"},{"email":"mayurkale22@gmail.com","name":"mayurkale22"},{"email":"bobecny@gmail.com","name":"obecny"}],"_npmUser":{"name":"dyladan","email":"dyladan@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exporter-jaeger_0.10.3-alpha.28_1597849450922_0.33684767291520257"},"_hasShrinkwrap":false,"publish_time":1597849451035,"deprecated":"Package no longer supported. See https://github.com/open-telemetry/opentelemetry-js/pull/7098","_cnpm_publish_time":1597849451035,"dist-tags":{"canary":"2.11.0-development.0","latest":"2.12.0","next":"1.8.0"}}