{"name":"@opentelemetry/exporter-jaeger","version":"1.9.0","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":{"prepublishOnly":"npm run compile","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","precompile":"lerna run version --scope $(npm pkg get name) --include-dependencies","prewatch":"npm run precompile","peer-api-check":"node ../../scripts/peer-api-check.js"},"keywords":["opentelemetry","nodejs","tracing","profiling","jaeger"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=14"},"publishConfig":{"access":"public"},"devDependencies":{"@opentelemetry/api":"^1.0.0","@opentelemetry/resources":"1.9.0","@types/mocha":"10.0.0","@types/node":"18.6.5","@types/sinon":"10.0.13","codecov":"3.8.3","mocha":"10.0.0","nock":"13.0.11","nyc":"15.1.0","rimraf":"3.0.2","sinon":"15.0.0","ts-mocha":"10.0.0","typescript":"4.4.4"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"dependencies":{"@opentelemetry/core":"1.9.0","@opentelemetry/sdk-trace-base":"1.9.0","@opentelemetry/semantic-conventions":"1.9.0","jaeger-client":"^3.15.0"},"homepage":"https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-exporter-jaeger","sideEffects":false,"gitHead":"08f597f3a3d71a4852b0afbba120af15ca038121","bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"_id":"@opentelemetry/exporter-jaeger@1.9.0","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.3/node@v14.18.1+x64 (darwin)","dist":{"integrity":"sha512-XLsDLuTqQyw08s0n03zeqmz2ike/iQHiep819SJliJnJJKMbGta+JvaWWgrh/YUEYlbBLc/mQP1cndXtd8lbaA==","shasum":"8f341228655c80b5cf06ed552bfd987b2935c6b8","tarball":"http://registry-npm.ywwl.com/@opentelemetry/exporter-jaeger/download/@opentelemetry/exporter-jaeger-1.9.0.tgz","fileCount":18,"unpackedSize":59589,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBW5NXCg39xT2PQN8KGxw128vI1R4J7tP3m/8C7hoXn6AiA5RDy/wTnYZBAXPFwZpLT+fTpq6Gz+e7Khh8qdstVxFw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvy43ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4bQ/+Jely4w1N68EvV4v6gLmQu4Hzno4agfkEjCvcVWsLWWedmGBW\r\nUDU3fn9dNDoS40qI76L55Ot62SZLrbHlv/GTpNw8MzRPbOMPqaAtJM47OXl9\r\nIijdIoSq4p9WuyYWe9PER5AO/0Aenrhd/Jd0HxUPFQnoIqMeNRtCF6gsEjW3\r\nORSU3cG0AhLzgyvHuZvbj3+GXjV9pOUJ7gSTCI+mcY5wqQ5pTyblW2uc4vMy\r\nx9aWm+OGTz58tUKNcLHZ2IyEZY+D39bNsoR2ZAhK1RiKPCdAKjlVCdQ2hqLO\r\nYmh++bgAMbv+5R4tCassD6XWTgIs91POMHk9Dm6zn+ECrju0eiilUckBAXOT\r\nlyJ7V4LxkvEW4QXY0/3199jlrS0AQsG2mozu0Qvq3MOC1aSV240Ga1l4Mv72\r\nD4rAt23XqcUF6pN6cHWbjZyaWlITNmWims5nInPrNs2xelyw8CDxqhbeakOg\r\nE15SvCndL5wyejQhnOBXR3zZavrM4NwLQ9N/6pI4L+xVpo2Dqw9bBT60lURE\r\nBaiYPbU20xP7RDMAnDSxQHcOI3cnfKAFSkYH0BPayumnPt5ar2GwbFsA0WOp\r\nMc9Izmww9kFiAKSQ+4tUOqBnjH6UCc6dO9EqwqLxzE5JHfILQ5X6gHrFRrAN\r\noZwAXPiGlcPX0KcDCHmdOyCGNwlQBLzLSBs=\r\n=XO33\r\n-----END PGP SIGNATURE-----\r\n","size":15173,"noattachment":false,"key":"/@opentelemetry/exporter-jaeger/-/@opentelemetry/exporter-jaeger-1.9.0.tgz"},"_npmUser":{"name":"dyladan","email":"dyladan@gmail.com"},"directories":{},"maintainers":[{"name":"bogdandrutu","email":"bogdandrutu@gmail.com"},{"name":"dyladan","email":"dyladan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exporter-jaeger_1.9.0_1673473591014_0.014014329261912595"},"_hasShrinkwrap":false,"readme":"# (Deprecated) OpenTelemetry Jaeger Trace Exporter for Node.js\n\n[![NPM Published Version][npm-img]][npm-url]\n[![Apache License][license-image]][license-image]\n\n**NOTE: Support for `@opentelemetry/exporter-jaeger` will end March 2024, please use any of the following packages instead:**\n\n- `@opentelemetry/exporter-trace-otlp-proto`\n- `@opentelemetry/exporter-trace-otlp-grpc`\n- `@opentelemetry/exporter-trace-otlp-http`\n\n**NOTE: Bundling (with e.g. `webpack`, `rollup`, `esbuild`, ...) is not supported by this package. Please use `@opentelemetry/exporter-trace-otlp-proto` instead.**\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  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[npm-url]: https://www.npmjs.com/package/@opentelemetry/exporter-jaeger\n[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Fexporter-jaeger.svg\n","publish_time":1673473591252,"deprecated":"Package no longer supported. See https://github.com/open-telemetry/opentelemetry-js/pull/7098","_cnpm_publish_time":1673473591252,"dist-tags":{"canary":"2.11.0-development.0","latest":"2.12.0","next":"1.8.0"}}