{"name":"@opentelemetry/exporter-jaeger","version":"2.0.0-dev.1","keywords":["opentelemetry","nodejs","tracing","profiling","jaeger"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","_id":"@opentelemetry/exporter-jaeger@2.0.0-dev.1","maintainers":[{"name":"bogdandrutu","email":"bogdandrutu@gmail.com"},{"name":"dyladan","email":"dyladan@gmail.com"},{"name":"pichlermarc","email":"marc.pichler@dynatrace.com"}],"homepage":"https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-exporter-jaeger","bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"dist":{"shasum":"31ed7d021f2f5994e6f59c5f240bade3c144682e","tarball":"http://registry-npm.ywwl.com/@opentelemetry/exporter-jaeger/download/@opentelemetry/exporter-jaeger-2.0.0-dev.1.tgz","fileCount":18,"integrity":"sha512-scLdyYWtZnt+NnNgUOn1Y9E2XmWUwuBH3Zej2gpKw1JsbEjc/eY5lWxA6gHQpBA28nbVriY24c6MytomPpifHQ==","signatures":[{"sig":"MEUCIQC4eXTLz/aL1Ill3fQQa0At5Trz4bTBbCxeIJMr+9P2EgIgViR9CbDLtHplawqu/1RdK+kBRF4+dVZe4wIHDP7y80s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@opentelemetry%2fexporter-jaeger@2.0.0-dev.1","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":64566,"size":16094,"noattachment":false,"key":"/@opentelemetry/exporter-jaeger/-/@opentelemetry/exporter-jaeger-2.0.0-dev.1.tgz"},"main":"build/src/index.js","types":"build/src/index.d.ts","engines":{"node":"^18.19.0 || >=20.6.0"},"gitHead":"92fde6aa77e464ee85c4a18f279fe12294f625d1","scripts":{"tdd":"npm run test -- --watch-extensions ts --watch","lint":"eslint . --ext .ts","test":"nyc mocha 'test/**/*.test.ts'","clean":"tsc --build --clean","watch":"tsc --build --watch","compile":"tsc --build","version":"node ../../scripts/version-update.js","lint:fix":"eslint . --ext .ts --fix","prewatch":"npm run precompile","precompile":"cross-var lerna run version --scope $npm_package_name --include-dependencies","align-api-deps":"node ../../scripts/align-api-deps.js","peer-api-check":"node ../../scripts/peer-api-check.js","prepublishOnly":"npm run compile"},"_npmUser":{"name":"dyladan","email":"dyladan@gmail.com"},"deprecated":"Package no longer supported. See https://github.com/open-telemetry/opentelemetry-js/pull/7098","repository":{"url":"git+https://github.com/open-telemetry/opentelemetry-js.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v18.20.7+x64 (linux)","description":"OpenTelemetry Exporter Jaeger allows user to send collected traces to Jaeger","directories":{},"sideEffects":false,"_nodeVersion":"18.20.7","dependencies":{"jaeger-client":"^3.15.0","@opentelemetry/core":"2.0.0-dev.1","@opentelemetry/sdk-trace-base":"2.0.0-dev.1","@opentelemetry/semantic-conventions":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"17.1.0","nock":"13.5.6","lerna":"6.6.2","mocha":"11.1.0","sinon":"15.1.2","cross-var":"1.1.0","typescript":"5.0.4","@types/node":"18.6.5","@types/mocha":"10.0.10","@types/sinon":"17.0.4","@opentelemetry/api":"^1.0.0","@opentelemetry/resources":"2.0.0-dev.1"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/exporter-jaeger_2.0.0-dev.1_1741195852568_0.528682635258332","host":"s3://npm-registry-packages-npm-production"},"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/jaeger: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\nconst tracerProvider = new NodeTracerProvider({\n  spanProcessors: [new BatchSpanProcessor(exporter)]\n})\n\nconst tracer = tracerProvider.getTracer('my-tracer')\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":1741195852735,"_cnpm_publish_time":1741195852735,"dist-tags":{"canary":"2.11.0-development.0","latest":"2.12.0","next":"1.8.0"}}