{"_id":"@deal/opencensus-exporter-prometheus","_rev":"8-56841576813df3b0aabe56b3468df800","name":"@deal/opencensus-exporter-prometheus","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.6":{"name":"@deal/opencensus-exporter-prometheus","version":"0.0.6","description":"OpenCensus Exporter Prometheus allows user to send collected stats to Prometheus","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-node.git"},"scripts":{"test":"nyc -x '**/test/**' --reporter=html --reporter=text mocha 'build/test/**/*.js'","clean":"rimraf build/*","check":"gts check","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"keywords":["opencensus","nodejs","tracing","profiling"],"author":{"name":"Google Inc."},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/express":"^4.11.1","@types/mocha":"^2.2.48","@types/nock":"^9.1.3","@types/node":"^9.4.7","axios":"^0.18.0","gts":"^0.5.1","mocha":"^5.0.4","ncp":"^2.0.0","nock":"^9.2.6","nyc":"^11.8.0","ts-node":"^4.0.0","typescript":"~2.7.2"},"dependencies":{"@deal/opencensus-core":"^0.0.6","express":"^4.16.3","prom-client":"^11.1.1"},"contributors":[{"name":"Google LLC"},{"name":"CESAR Team","url":"www.cesar.org.br"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-node/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-node#readme","_id":"@deal/opencensus-exporter-prometheus@0.0.6","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"dealeng","email":"npm@deal.com"},"dist":{"integrity":"sha512-clnl1zbVp7HO9qYiu8AATz8nIrTW8zaJDPUdaUvbuz9g87H0qRtMRpdk/YN/I0WZwyTJi3GqlRiwaa6/Cwl66g==","shasum":"f477c622fbdbf7e2e4c0ed08353c7863d80bdb9e","tarball":"https://registry.npmjs.org/@deal/opencensus-exporter-prometheus/-/opencensus-exporter-prometheus-0.0.6.tgz","fileCount":7,"unpackedSize":26142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmyjsCRA9TVsSAnZWagAA2DIP/jwsbfIGV4qNvRz7nCO/\nCTGgTqHTyQtomkkvTZCCLzd0xyVwaoPptu0Uw8mr8ws2KmP7VHC4ZsK5lM7a\n+/YV7HGry8bKJQmP/tGgkgjNmMT2mmiLUdVgrZtfw+XRMHChS4XlhGe1jaGy\nYiDuorRxqnOEIOc3VdWMtenuUy7WJz5KlDfJt8xMDvOKlROLrAr83b1scWXE\nb5UadFswq6O8uUXWk1M/k7tTd5ty2YmOVvMD+37WjcdroktVpup2VZcCZVSV\nHXTmry4pUv11gg/9bNZRp9+VI/XoFct1NcmlIzv9/Wt5g1i8nDTEerFYCWfF\nNX8kFxJkhXyzzCkuF4QzqswcyrFLvpT8MIdVAUVqALQgwKaHj8wcKpNPt7YC\nx0iBRGD5hSCMkTwEaNM8FbKwjBokSe0QGTbMrru66RdKLTyi0sfazTsv6azd\nQd3Egtr2im/7oud+uJvVDuSoWU+E9MgKZWTQVPFpL7ODvFGwFrT4dIOhqoax\npItgna2sz1rxOoWeCE9jpdT4XKEiCsbVCGqPRQg6vdmgr2tNAKnPLLc0tIXP\nNF2WM9WCCa8tldi+P6Ty8tUz/7/B7oOoWjuIhuBv565dD3e1bh8BvftR+fGa\ny5qpIkaKgptuFuuc0s/4sYf2naN6RgS/0b4oO/JOvlcNwEnnXr4sDmE+t2KK\nFdZo\r\n=yQsk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXbtyX0JFRGib532L/H4pFQRnC8nTgA7A94graQz5aswIhAPkdW67ehHPk4ADyE485b8hAXkSydW1N7jf742WZRFP2"}]},"maintainers":[{"name":"dealeng","email":"npm@deal.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencensus-exporter-prometheus_0.0.6_1536895212015_0.30131908122728235"},"_hasShrinkwrap":false},"0.0.7":{"name":"@deal/opencensus-exporter-prometheus","version":"0.0.7","description":"OpenCensus Exporter Prometheus allows user to send collected stats to Prometheus","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-node.git"},"scripts":{"test":"nyc -x '**/test/**' --reporter=html --reporter=text mocha 'build/test/**/*.js'","clean":"rimraf build/*","check":"gts check","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"keywords":["opencensus","nodejs","tracing","profiling"],"author":{"name":"Google Inc."},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/express":"^4.11.1","@types/mocha":"^2.2.48","@types/nock":"^9.1.3","@types/node":"^9.4.7","axios":"^0.18.0","gts":"^0.5.1","mocha":"^5.0.4","ncp":"^2.0.0","nock":"^9.2.6","nyc":"^11.8.0","ts-node":"^4.0.0","typescript":"~2.7.2"},"dependencies":{"@deal/opencensus-core":"^0.0.7","express":"^4.16.3","prom-client":"^11.1.1"},"contributors":[{"name":"Google LLC"},{"name":"CESAR Team","url":"www.cesar.org.br"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-node/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-node#readme","_id":"@deal/opencensus-exporter-prometheus@0.0.7","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"dealeng","email":"npm@deal.com"},"dist":{"integrity":"sha512-otqmV4JwjtvoAY3zpGJ33tO0xgpRphy3ykEa64/xe8aKmyU8zT1uvFrEiHmGSeFUkKVSok14eB+WU1dMlOPeiA==","shasum":"8e074bcf325024f57335e976d1a306d47eef0be6","tarball":"https://registry.npmjs.org/@deal/opencensus-exporter-prometheus/-/opencensus-exporter-prometheus-0.0.7.tgz","fileCount":7,"unpackedSize":26142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmyy9CRA9TVsSAnZWagAALM4P/1HhtFvy2Yyfnk6D8Tji\nQNHkCdRdoELBBMoj5ZJSA9Zvb4Zy8wJygQ6Z+OAeUHE5QR53ojrZvG+Gos6B\nZDvT3hsJp7Fh2PwtGwGlA9Ft5ypnoLDvflnl6Hg7dsru4lIIvuqQzl3heBww\n+JkMkTVWI2HzA3nToTBPx6mSfA8hqrlM9ZFqO2fFJFicR1OSY2p4JqPLpPmC\ncNXCpKy1x8yaxZADyO3ZhKyQTnbf8ruJ9TimWnSgntVUdwHqPDwDKnv8cyNk\nXIUSLNWxR5yLaUPUBQR89Wj8rPK7P8yn6AAMT7QbqBd/bFoylkgd3yKsCuCi\ncJjAZfnEW6smrvB4AS3oZ6lDpFdBVQabby3S0WqSEbFAGTT+q45KWX3WEArd\nHXdMKK7n5h/m9gfInSVIsUIr/4PpSJVvBXEEZEPs5VI3JhjB/nvBRewLzjEO\ngBxIN/HWMV3VzW0E8LzsQtiKzuoiccsy/bFSo4Kk32PS7HdElIj1/WuS+1WM\n45/xfypCjdYHekIhoX3/9ch6XOdwhM2wXMvgKYgLdDZviBu+RDZyn0AdIt54\nJOC3qR2dbvcXcvDL5Dav3a0YDZIyrBUk5TeCKppq6+Xet4xn/1nt/IGGh+40\n8OFi6njZaCfx26xhwpqQabXzi1G+Db4FfGH2bKn8UFPxNqasuej5xlGsamtu\noZ8A\r\n=p96O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKB5EvSQWuda+Z6hpNZL/q+jDm42ubM/3VATddE9jxMwIgVj8D3EY7nUmmqYmRrcy/RN0cQiZGNxM0tUoT7pZ3eEU="}]},"maintainers":[{"name":"dealeng","email":"npm@deal.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencensus-exporter-prometheus_0.0.7_1536896189204_0.18152656611833873"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-14T03:20:11.936Z","0.0.6":"2018-09-14T03:20:12.154Z","modified":"2023-02-02T13:47:54.358Z","0.0.7":"2018-09-14T03:36:29.342Z"},"maintainers":[{"email":"npm@curated.com","name":"curated-infra"},{"email":"npm@deal.com","name":"dealeng"},{"email":"npm+dependabot@curated.com","name":"curated-dependabot"}],"description":"OpenCensus Exporter Prometheus allows user to send collected stats to Prometheus","homepage":"https://github.com/census-instrumentation/opencensus-node#readme","keywords":["opencensus","nodejs","tracing","profiling"],"repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-node.git"},"contributors":[{"name":"Google LLC"},{"name":"CESAR Team","url":"www.cesar.org.br"}],"author":{"name":"Google Inc."},"bugs":{"url":"https://github.com/census-instrumentation/opencensus-node/issues"},"license":"Apache-2.0","readme":"# OpenCensus Prometheus Exporter for Node.js\n[![Gitter chat][gitter-image]][gitter-url]\n\nThe OpenCensus Prometheus Exporter allows the user to send collected stats with [OpenCensus Node.js](https://github.com/census-instrumentation/opencensus-node) to Prometheus.\n\nThis package is still at an early stage of development, and is subject to change.\n\n## Installation\n\nInstall OpenCensus Prometheus Exporter with:\n```bash\nnpm install @deal/opencensus-nodejs\nnpm install @deal/opencensus-exporter-prometheus\n```\n\n## Usage\n\nInstance the exporter on your application. For javascript:\n\n```javascript\nvar tracing = require('@deal/opencensus-nodejs');\nvar prometheus = require('@deal/opencensus-exporter-prometheus');\n\nvar exporter = new prometheus.PrometheusTraceExporter();\n\ntracing.registerExporter(exporter).start();\n```\n\nSimilarly for Typescript:\n\n```typescript\nimport * as tracing from '@deal/opencensus-nodejs';\nimport { PrometheusTraceExporter } from '@deal/opencensus-exporter-prometheus';\n\nconst exporter = new PrometheusTraceExporter();\n```\n\nNow, register the exporter and start tracing.\n\n```javascript\ntracing.start({'exporter': exporter});\n```\n\nor\n\n```javascript\ntracing.registerExporter(exporter).start();\n```\n\n## Useful links\n- To learn more about Prometheus, visit: <https://prometheus.io/>\n- For more information on OpenCensus, visit: <https://opencensus.io/>\n- To checkout OpenCensus for Node.js, visit: <https://github.com/census-instrumentation/opencensus-node>\n- For help or feedback on this project, join us on [gitter](https://gitter.im/census-instrumentation/Lobby)\n\n[gitter-image]: https://badges.gitter.im/census-instrumentation/lobby.svg\n[gitter-url]: https://gitter.im/census-instrumentation/lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n","readmeFilename":"README.md"}