{"name":"@opentelemetry/resource-detector-aws","version":"0.18.2-alpha.81","description":"OpenTelemetry SDK resource detector for AWS","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","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix","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 ../../","version":"node ../../scripts/version-update.js"},"keywords":["opentelemetry","nodejs","resources","stats","profiling"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"8.2.2","@types/node":"14.14.35","@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"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/core":"^0.18.2-alpha.81+e369035c","@opentelemetry/resources":"^0.18.2-alpha.81+e369035c"},"gitHead":"e369035cd228a5c8781069a99322c5b938061d20","readme":"# OpenTelemetry Resource Detector for AWS\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\nThe OpenTelemetry Resource is an immutable representation of the entity producing telemetry. For example, a process producing telemetry that is running in a container on Kubernetes has a Pod name, it is in a namespace and possibly is part of a Deployment which also has a name. All three of these attributes can be included in the `Resource`.\n\n[This document][resource-semantic_conventions] defines standard attributes for resources.\n\n## Installation\n\n```bash\nnpm install --save @opentelemetry/resource-detector-aws\n```\n\n## Usage\n\n```typescript\nimport { detectResources } from '@opentelemetry/resources';\nimport { awsBeanstalkDetector } from '@opentelemetry/resource-detector-aws'\nconst resource = await detectResources({\n   detectors: [awsEc2Detector],\n})\n\nconst tracerProvider = new NodeTracerProvider({ resource });\n```\n\n**Note**: Besides `awsEc2Detector` there are also the following detectors available: `awsBeanstalkDetector`, `awsEksDetector` and `awsEcsDetector`\n\n## Useful links\n\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-resources\n[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-resources\n[devDependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js.svg?path=packages%2Fopentelemetry-resources&type=dev\n[devDependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-resources&type=dev\n[npm-url]: https://www.npmjs.com/package/@opentelemetry/resources\n[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Fresources.svg\n\n[resource-semantic_conventions]: https://github.com/open-telemetry/opentelemetry-specification/tree/master/specification/resource/semantic_conventions\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/resource-detector-aws@0.18.2-alpha.81","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-/+7WTWGAjEqOfYTuLxpdafOga3wVyutCRbZoToZfc/rl5ynwQ/fkWxsXRW35DgB1gCsJUsx8y+UGQzyKo3MwCw==","shasum":"895f9ee23018c9f19ea2c2167a092edbf8c20966","tarball":"http://registry-npm.ywwl.com/@opentelemetry/resource-detector-aws/download/@opentelemetry/resource-detector-aws-0.18.2-alpha.81.tgz","fileCount":24,"unpackedSize":56792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYi/9CRA9TVsSAnZWagAA7NYQAI6WmpgSQIk4zb52Qdz7\n3fZgLkhOYSCYZIJK4Ysdr2iODeg9OJLXdASIT0b4A8s5FygEIH42YCDdvK2y\n58wfuaAIf3VTnHmUENWlKTcbfsvrYU5ZR5t8YYKx3zyFT0VauM+XHD50rGhV\noqUpUGq9oEHQ0cRZZEnLzgxtdAsd3URa8x6Mi8LPQS7qXExY5vAHJmaDWwl1\nx2JYX5KTulMN01OZmjs10TDFdogiNpSaDZx63PGPZ5lBPZ4eVhS9lW1yoVJt\nmWg84nIQiAxD+7dY8M787ijWBre+UyUGhlkKqwOlrPPdp9zueIeDF+COAAUK\n+QQzrC3kG0/uKnupg3F34JaVUEiCAhPMP9HVldwR/8SulZ2lPN1ATj6jT1eA\nQkIAzuHSdlD5sfCOBEm2bRkgVHAiYXfhSYeHp0drV3VsM/euDZsrPd5I5MsA\nSIpuI9Kr1nVqeiesFchN/l/QH7ZmGh9QMRkX5xcQTkmhj/7c5ih+MWcWYzWW\nVFaxxrCJ+RQ9IV3Ma2VKR5bFCIIdKJxss0WB3udCEs9KtlDTW/CW/BCRAmMa\nBrTQeoLFFsskF3gVXGLy9WmyBHCnW2BBHLtxW2c/8+scL2FMcbKxf5gAK9ht\n24S+M4g7Fvbh/fUWkaut5Z5G+EzznlQp6aOTGnUJdIuDpWkz8boOguabQiVe\n+85+\r\n=LBUg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9RlscHqasmRSnb7AndzfhwYvNHCqM8ogSsJsnPHIL2AIhAN09yvHZbmYhQkzTsEMtfz2MEZDoLnjTFsms+3XeJxyD"}],"size":14156,"noattachment":false,"key":"/@opentelemetry/resource-detector-aws/-/@opentelemetry/resource-detector-aws-0.18.2-alpha.81.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/resource-detector-aws_0.18.2-alpha.81_1617047549592_0.31388261276908613"},"_hasShrinkwrap":false,"publish_time":1617047549713,"_cnpm_publish_time":1617047549713,"dist-tags":{"canary":"0.24.1-alpha.7","latest":"3.0.0","next":"0.24.0"}}