{"name":"@opentelemetry/semantic-conventions","version":"0.9.0","keywords":["opentelemetry","nodejs","tracing","attributes","semantic conventions"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","_id":"@opentelemetry/semantic-conventions@0.9.0","maintainers":[{"name":"dyladan","email":"dyladan@gmail.com"},{"name":"bogdandrutu","email":"bogdandrutu@gmail.com"},{"name":"mayurkale22","email":"mayurkale22@gmail.com"}],"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"dist":{"shasum":"49f71eb9ea9ddd7250a8b326bcf2646d113f695c","tarball":"http://registry-npm.ywwl.com/@opentelemetry/semantic-conventions/download/@opentelemetry/semantic-conventions-0.9.0.tgz","fileCount":17,"integrity":"sha512-bq3ySf6BpHrqNehe5AlvxiY7tqDraCVDPMbIYfl2fPLdn7xMSuI6rZMrm+UthQxRKXWFgSmxWi7DiKpKbfc39A==","signatures":[{"sig":"MEUCIQDPfbZQp90wYBDEN4qwwC4Bb6eKXGnXdpnZ7ujqNiKipgIgQd/A9GBVABIWKP83Zr0/iMexXpTN9nEezgHv6PjFbOI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe69vUCRA9TVsSAnZWagAAkLMP/RQDEtqfFQk2brtaV7U7\npiPCKDt0jPZNM1LoHFs2ulrQ80qcVPhG+bqwTO0sBJ49yiYoOqASTXZ+skB7\nQ9YaW1tg71HsbB2mBsdh5kJJcS7SLMxT0uxEEpXCilD+Qmvfwlr/lVSEqKpC\n3GLe7XIr65bbqcXkBitfEJbxQcfNWlysC++8q3j/5so8ErUxjLCExQB9iyBf\nNR5TbLSZw8m3VrpDSQogQ65H0ezHHOE1gqjaj1ZgCIRlmwjZibi2NS+bg8vv\nUcV715Fh4NjgHBEg6iBSO4DtCi7BghfXMIi6s83XjncHkOQCDN31DM3/vZc4\nwj1jKAqFEyaFMO6Bpxh8rLlA+4ngmzCCQLNqaZWdMNEoqa9rMjEYQmQXBu+9\nJtwkPWxpDm+Pt/SDojVQVqvnJNVBoySYWDfcgcdqQWKezNlxNHefxAICJPh9\nLW/gjm/oTeJtrUist3Eu2ZEAjLkaFT3Dg8/mP2BNZnNkr6dbTpo55lUoOvMa\nybm1RZhxJPk1ZFQL7jvdf3kIihcXyU+lg9YOvkGHlUuCU6/xG4rJ9KAKxNMB\n9FsigEAq0WogwW2Qzf80LrRmRDoInK0mfTRHJxTl/I42ywY4qOIv5EP5Ry7g\nDs3uqTduWcgZiKpLZ8ZensMwAD2zoQ9d5LY5pVbKODrAxA/Ybjs1KYPQxflZ\npX73\r\n=PK5l\r\n-----END PGP SIGNATURE-----\r\n","size":7266,"noattachment":false,"key":"/@opentelemetry/semantic-conventions/-/@opentelemetry/semantic-conventions-0.9.0.tgz"},"main":"build/src/index.js","types":"build/src/index.d.ts","engines":{"node":">=8.0.0"},"scripts":{"tdd":"npm run test -- --watch-extensions ts --watch","lint":"eslint . --ext .ts","test":"nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'","clean":"rimraf build/*","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","compile":"npm run version:update && tsc -p .","prepare":"npm run compile","lint:fix":"eslint . --ext .ts --fix","precompile":"tsc --version","version:update":"node ../../scripts/version-update.js"},"_npmUser":{"name":"mayurkale22","email":"mayurkale22@gmail.com"},"repository":{"url":"git+https://github.com/open-telemetry/opentelemetry-js.git","type":"git"},"_npmVersion":"6.4.1","description":"OpenTelemetry semantic conventions","directories":{},"_nodeVersion":"10.15.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"gts":"2.0.2","nyc":"15.1.0","nock":"12.0.3","mocha":"7.2.0","sinon":"9.0.2","rimraf":"3.0.2","codecov":"3.7.0","ts-node":"8.10.2","ts-mocha":"7.0.0","typescript":"3.9.5","@types/node":"14.0.13","@types/mocha":"7.0.2","@types/sinon":"9.0.4"},"_npmOperationalInternal":{"tmp":"tmp/semantic-conventions_0.9.0_1592515539091_0.44542490113869837","host":"s3://npm-registry-packages"},"readme":"# OpenTelemetry Semantic Conventions\n\n[![NPM Published Version][npm-img]][npm-url]\n[![Apache License][license-image]][license-image]\n\nSemantic Convention constants for use with the OpenTelemetry SDK/APIs. [This document][trace-semantic_conventions] defines standard attributes for traces.\n\n## Installation\n\n```bash\nnpm install --save @opentelemetry/semantic-conventions\n```\n\n## Usage\n\n```ts\nimport { SemanticAttributes } from '@opentelemetry/semantic-conventions';\n\nconst span = tracer.startSpan().startSpan(spanName, spanOptions)\n  .setAttributes({\n    [SemanticAttributes.NET_PEER_NAME]: 'localhost',\n  });\n```\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[npm-url]: https://www.npmjs.com/package/@opentelemetry/semantic-conventions\n[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Fsemantic-conventions.svg\n\n[trace-semantic_conventions]: https://github.com/open-telemetry/semantic-conventions/tree/main/specification/trace/semantic_conventions\n","publish_time":1592515539243,"_cnpm_publish_time":1592515539243,"dist-tags":{"canary":"0.25.1-alpha.13","latest":"1.45.0","next":"1.8.0"}}