{"_id":"telemetry","_rev":"7-d6033ccdcf5dd1f62a149c070c73252b","name":"telemetry","description":"a massively scalable telemetry server written in Node.js","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.5":{"name":"telemetry","description":"a simple telemetry server written in Node.js","version":"0.0.5","author":{"name":"Mark Cahill","email":"mark+npm@thinkjson.com"},"keywords":["Loggly","log","telemetry","firebug","firephp"],"repository":{"type":"git","url":"git://github.com/OSBI/node-telemetry.git"},"dependencies":{"express":">= 2.2.2","yaml":">= 0.2.2","nano":">= 0.8.5","cluster":">= 0.7.7","knox":">= 0.0.9"},"bin":{"telemetry":"./telemetry"},"_npmJsonOpts":{"file":"/Users/mark.cahill/.npm/telemetry/0.0.5/package/package.json","wscript":false,"contributors":false,"serverjs":true},"_id":"telemetry@0.0.5","scripts":{"start":"node server.js"},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"21190deeda56ff4f830afbfecabc1d7377de6002","tarball":"https://registry.npmjs.org/telemetry/-/telemetry-0.0.5.tgz","integrity":"sha512-I6wfizbY4xfSMQ6Ble010BjH/zcCkoEFGHJjElZnwhfzfcqrUi7KmCxbHXbfv1Xmu+SoaWt/3/5gEpGOS1z48Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIElgrTo1MzJZGbmg1JnMudqxe/sjGiw8lC8q8qjQk+QMAiEA5MN3Fonm0q/nOrPq8QetpDZUyrltDlUiXXu/NpTMnTE="}]},"maintainers":[{"name":"thinkjson","email":"mark+npm@thinkjson.com"}]},"0.1.0":{"name":"telemetry","description":"a massively scalable telemetry server written in Node.js","version":"0.1.0","author":{"name":"Mark Cahill","email":"mark+npm@thinkjson.com"},"keywords":["Loggly","log","telemetry","Hadoop","Splunk"],"repository":{"type":"git","url":"https://thinkjson@github.com/OSBI/node-telemetry.git"},"dependencies":{"express":">= 2.2.2","nano":">= 0.8.5","cluster":">= 0.7.7","knox":">= 0.0.9","mocha":">= 0.10.2"},"bin":{"telemetry":"./telemetry"},"scripts":{"start":"node server.js"},"readme":"# Node-telemetry\n\nThe goal of node-telemetry is to make it really easy to deploy a scalable telemetry\nserver in a clustered environment. This can be used to capture errors, performance data,\nand more from your web and mobile applications, and store it in a document store \nor on the filesystem.\n\n## Getting started\n\nTo install telemetry, run\n\n    npm install -g telemetry\n\nthen edit your config.js, and run telemetry:\n\n    telemetry [port]\n\nAn example config.js is provided below (note that all keys are case-sensitive):\n\n\tvar couch = {\n\t    type: 'couchdb',\n\t    host: 'localhost',\n\t    port: 5984,\n\t    protocol: \"http\",\n\t    username: 'admin',\n\t    password: 'password'\n\t};\n\t\n\texports.inputs = {\n\t    test: [ couch ]\n\t};\n\nYou may place this in the same directory as telemetry, or pass it via the \nTELEMETRY_CONFIG environment variables like so:\n\n    export TELEMETRY_CONFIG=~/.telemetry; telemetry [port]\n\n## Sending data\n\nEvents can be sent to node-telemetry by any HTTP client capable of a POST. For\njavascript on the browser, you can use [janky.post](https://github.com/pyronicide/janky.post).\nHere's an example of what that would look like:\n\n    var data = {\n        level: \"log\",\n        message: \"Invalid identifier: theCheat\",\n        lineNumber: 25,\n        file: \"strongbad.js\"\n    };\n    \n    janky({\n        url: \"http://example.com/inputs/errors\",\n        method: \"post\",\n        data: data,\n        error: function() {\n            console.log(\"Could not reach telemetry server\");\n        }\n    });\n\nA cURL example:\n\n\t$ curl -X POST -d @document -v http://localhost:8000/input/test\n\t* About to connect() to localhost port 8000 (#0)\n\t*   Trying 127.0.0.1... connected\n\t* Connected to localhost (127.0.0.1) port 8000 (#0)\n\t> POST /input/test HTTP/1.1\n\t> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3\n\t> Host: localhost:8000\n\t> Accept: */*\n\t> Content-Length: 34\n\t> Content-Type: application/x-www-form-urlencoded\n\t> \n\t< HTTP/1.1 200 OK\n\t< x-powered-by: Express\n\t< content-type: text/html; charset=utf-8\n\t< content-length: 0\n\t< connection: close\n\t< \n\t* Closing connection #0\n\n## Additional documentation\n\nAdditional documentation is available under /docs:\n\n- [Deployment](node-telemetry/blob/master/docs/deployment.md)\n- [Sending data](node-telemetry/blob/master/docs/sending_data.md)\n\nIf you find the documentation lacking, are interested in creating \nadditional backends for telemetry, or need general assistance, contact us \nusing the e-mail address displayed when you do \n\n    npm author ls telemetry\n\n## Licensing\n\nnode-telemetry is released under the terms of the _MIT license_.\n\nCopyright (c) 2011 Mark Cahill\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of \nthis software and associated documentation files (the \"Software\"), to deal in \nthe Software without restriction, including without limitation the rights to \nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies \nof the Software, and to permit persons to whom the Software is furnished to do \nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all \ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR \nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, \nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE \nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER \nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, \nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE \nSOFTWARE.","_id":"telemetry@0.1.0","dist":{"shasum":"20748e2e09cf3ca1d38565661e3a0d97ef27f5e4","tarball":"https://registry.npmjs.org/telemetry/-/telemetry-0.1.0.tgz","integrity":"sha512-MwRM3A1UntoDTyObla7cz2yy1hBJpwlAWeY8FdZ7vtg5hMaMkYkwDEGJrotTJ68OEjs83E3WK/PfLM7Y7nFT5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+PEaChtPgF6yRkBpzZD7so53n1KgdYhD/khVuQGLyPQIgG6RQ7MK3HFnLhcc898ThPBNdGR4I0FHdH5qZo3tSAHw="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"thinkjson","email":"mark+npm@thinkjson.com"},"maintainers":[{"name":"thinkjson","email":"mark+npm@thinkjson.com"}]}},"maintainers":[{"name":"thinkjson","email":"mark+npm@thinkjson.com"}],"time":{"modified":"2022-06-27T04:32:23.588Z","created":"2011-10-24T13:50:53.276Z","0.0.5":"2011-10-24T13:50:53.597Z","0.1.0":"2013-07-17T12:02:07.536Z"},"author":{"name":"Mark Cahill","email":"mark+npm@thinkjson.com"},"repository":{"type":"git","url":"https://thinkjson@github.com/OSBI/node-telemetry.git"}}