{"name":"@opentelemetry/exporter-jaeger","version":"0.3.2","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/**/*.ts'","tdd":"yarn test -- --watch-extensions ts --watch","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","clean":"rimraf build/*","check":"gts check","precompile":"tsc --version","version:update":"node ../../scripts/version-update.js","compile":"npm run version:update && tsc -p .","fix":"gts fix","prepare":"npm run compile"},"keywords":["opentelemetry","nodejs","tracing","profiling"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^5.2.7","@types/node":"^12.6.9","codecov":"^3.6.1","gts":"^1.1.0","mocha":"^6.2.0","nyc":"^14.1.1","rimraf":"^3.0.0","ts-mocha":"^6.0.0","ts-node":"^8.3.0","tslint-consistent-codestyle":"^1.15.1","tslint-microsoft-contrib":"^6.2.0","typescript":"3.7.2"},"dependencies":{"@opentelemetry/base":"^0.3.2","@opentelemetry/core":"^0.3.2","@opentelemetry/tracing":"^0.3.2","@opentelemetry/types":"^0.3.2","jaeger-client":"^3.15.0"},"bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","_id":"@opentelemetry/exporter-jaeger@0.3.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"mayurkale22","email":"mayurkale22@gmail.com"},"dist":{"integrity":"sha512-AHX0zhdd8B3EOCaRki3nvlsc3/KWW8mCjT8ML/+J3hREnhW38ama0C7QmjO8k+m+gJPW2a9lmPUBeww2oEsRwg==","shasum":"694e3f8d361ddec459268bdd338018b2d24510fd","tarball":"http://registry-npm.ywwl.com/@opentelemetry/exporter-jaeger/download/@opentelemetry/exporter-jaeger-0.3.2.tgz","fileCount":13,"unpackedSize":34726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeD7iwCRA9TVsSAnZWagAA2nEP/RwRx3GXzWe/PtHUvy23\noQRwyFlCCX6HWh+pqrmg8BkI8mf3haZqyhDLIFlCFuM/QVvHG2P7/DUW/3m/\nGEesbKIJ2a05TCiazdWsGPh1up2pTH+UDivvOJ6jYpE1//153vFoxU6yi6F1\nHKp8Dyy+udoaNm2xJtUKllaC+tHXjsroDcFQyBqqcoyR0zZv7DP3vNBUi9oi\nSSh187Wa2Iq1L8LkDkbshblbAHhZ0URlt53PNgqtY+s2VaE+p1hgw/I4F95/\nvQhB/sy19VXeKuiuDbPx1mm0BLTNNgBplwu3+9xArpsb6XfHkwpJltGlCB6t\n8LbTByvjD3oDMzPITLK21aqPQVtrSl0UMkAQEyuCHG7Q/Hrow3JaCowsNKh1\ndiwDY9yyxXqI+1E2u8Td/1sJt58TowNWYgJdlsTOY5OB4/TEEYAp2Btv8YlR\nTFernLbRieX2DrVRgFh6hSPvEW4q+8xXb1p+ilYAVZcaOQlzQys/RadHKHBS\nyDBC8qh/oyPgApr1tjspovpRF0xgGV8E85PEJyAzVo+DF6YtPHXkAYwcC6RS\ngNdXhZ0S0kLaLinfjvSPLtU3OcUJ5dAkaxuNxc7qZpvnToWJF77RPw04xfUg\ngsNrMv4xEZ66Ja6L5JOh++TMJQ8HQ23PCVQsHtBFW8bEmsLdhxL4xk3wQGDG\nt4oj\r\n=SW5p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEqk2Yp6qo7k5SKbm7NDEM0K+QiDYA8BYbIxNgC4TB5OAiAj6D7mAl03rcC9/Pr5us+I+K011AwlHxfuzqkWbxeajg=="}],"size":9692,"noattachment":false,"key":"/@opentelemetry/exporter-jaeger/-/@opentelemetry/exporter-jaeger-0.3.2.tgz"},"maintainers":[{"email":"brandon.gonzalez.451@gmail.com","name":"bg451"},{"email":"bogdandrutu@gmail.com","name":"bogdandrutu"},{"email":"daniel@khan.io","name":"dkhan"},{"email":"dyladan@gmail.com","name":"dyladan"},{"email":"mayurkale22@gmail.com","name":"mayurkale22"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exporter-jaeger_0.3.2_1578088622184_0.130005154407008"},"_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":1578088622313,"deprecated":"Package no longer supported. See https://github.com/open-telemetry/opentelemetry-js/pull/7098","_cnpm_publish_time":1578088622313,"dist-tags":{"canary":"2.11.0-development.0","latest":"2.12.0","next":"1.8.0"}}