{"_id":"cx-helloworld-readme-ja","_rev":"121-e81c35039ebd6873c0ece2ce55602971","name":"cx-helloworld-readme-ja","dist-tags":{"latest":"1.0.15"},"versions":{"1.0.0":{"name":"cx-helloworld-readme-ja","version":"1.0.0","keywords":["cx-helloworld","concurix","concuris-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.0","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"e31a16b7c54ebfd62ac30bd6a8c9328182acb68c","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.0.tgz","integrity":"sha512-dRMGmyjkBWjRxppCA3aSDqibUwiudZB32EWOd4QHG0pxyMUkAPLNibI4fjyQ77WFtEl3tGFYXugWf+6Yjw5qYA==","signatures":[{"sig":"MEQCIDYgXoLMasrVixvJBrtpkfhBy5o901kaAVDfEc7wX1smAiBOqZSmWK3T4l5iTb8d82MfdcmVr/O9w7fMenFGJ/JkUg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"e31a16b7c54ebfd62ac30bd6a8c9328182acb68c","gitHead":"44ba598b18640a93858a447f784151c6d02c7f56","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.6","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.1":{"name":"cx-helloworld-readme-ja","version":"1.0.1","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.1","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"aae4dbf3308e93a41f99eeacf4318a3edd14df48","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.1.tgz","integrity":"sha512-tR0KK9+17rqHjOE9YC902tTKunx3fjkiWwaV/Yxx01nnFpcg8fpa7EBC6MyVqhzVFycpc6DFwRaUnA/iojUAwg==","signatures":[{"sig":"MEQCIB3hPsnCBHquMoUZrf2sStrlyhl5BvYm/n28FAk7xlmmAiBb4QQkc7AIxuYeo/CmBt7aITp26gMLxbz2sMhJgrg6og==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"aae4dbf3308e93a41f99eeacf4318a3edd14df48","gitHead":"e315f49f1d35516acae8768a656eefcc7b21976a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.6","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.2":{"name":"cx-helloworld-readme-ja","version":"1.0.2","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.2","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"e6bfee0f1d90244d80aaeb8a3510dc9c29093539","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.2.tgz","integrity":"sha512-fSbDvakw4UvWvSJIQOj7ATGz6RqfTflYV84SUpOAbX+OVe2OkwApNomav9LuPbLoJGCCEpEA2ESwqi3ZuDXTDw==","signatures":[{"sig":"MEUCICu+7nwEU+pGm7+nAlHAFxpVbhrkhQ0KxLu9G7Ke/AmJAiEA8VjDQBk6M+mHNiU5pnTnWE1FgSChrat4qbUOGKOuaZg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"e6bfee0f1d90244d80aaeb8a3510dc9c29093539","gitHead":"f0e23b40cb73809ed22a66cb70b83c270ee489ee","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.6","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.3":{"name":"cx-helloworld-readme-ja","version":"1.0.3","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.3","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"46f0e319ada30f75759d930237e76779f4b69108","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.3.tgz","integrity":"sha512-rQ8p3YBrMGzwdOr60guUkNfIu3+GJZXNRdrfZIZn2u6HX/C614gR9lrNW7QSiwS/gpU+Fe2f05NO+HtWhNINwg==","signatures":[{"sig":"MEQCIC4/dILLwo/SdELQpE/a54RLkdi57M1b/ef4DfYWAIDeAiBFH204ZX45Demt+WoQuu4dXKF+INWGlfLv2aS3AHcFyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"46f0e319ada30f75759d930237e76779f4b69108","gitHead":"0fa7e04d10a34c0de4b0bb697be82926832e3b99","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.6","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.4":{"name":"cx-helloworld-readme-ja","version":"1.0.4","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.4","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"33cddbd3140f72ac65d505a7051d93570a6c4660","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.4.tgz","integrity":"sha512-faT/XC4peiFHLa85G5Fi0evLnQXE/x41h5GT3xXF9DPQn5pfiJTU/dva3uR3RHGGJbYgWktbfjakDq8mvwWcCg==","signatures":[{"sig":"MEQCIDwBqqmK6cbnKzjq7Tbg0AWBqp+aEKA81cCAvdLK+OL9AiA3H5uuV6R/umhI+JHDkE0UYcRPAkf2oy4azhS/AUafsw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"33cddbd3140f72ac65d505a7051d93570a6c4660","gitHead":"03315f31e7df6e8144527674e7354455568b2ef2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.6","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.5":{"name":"cx-helloworld-readme-ja","version":"1.0.5","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.5","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"99b91d3031088278fc028d4f81dab3db3a2d678c","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.5.tgz","integrity":"sha512-EcEfzsP1R+2OJ3xL+3dOD1o58waj24mCBfPZVN0shXGj/HwYktU/fRCCyDtAlHkasCKMC5X9YlfF2aIl4CWPcQ==","signatures":[{"sig":"MEUCIFTQQz4fGmkUpIg3UmRNMagAFhykFzO5jBo1Lp0azP7LAiEA+/Z4Qll3YvKd9UOJTxr6UMLEssTWf8wCStsqAFsXUCk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"99b91d3031088278fc028d4f81dab3db3a2d678c","gitHead":"35b6cea3f52171989053f97c98adfadcbf9c8fc7","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.6","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.6":{"name":"cx-helloworld-readme-ja","version":"1.0.6","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.6","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"72dd86f6460f08eb67319c76b3fb491fd9f1dc81","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.6.tgz","integrity":"sha512-+ikMpxW0VezlH9qoLnSH3kChw7IdcFNM3XRKR4jEQPz4eZEkfq4m81yLY4QXE7t1MF1zAOLfvUqDdSpoeUV39g==","signatures":[{"sig":"MEUCID8dZWc7Ne6h2r3m4P/qgWGrEXiOOC+q9VkrUMKVCOyBAiEAqc1YiwcFm3n7ZJ8CPyACGofXJKR9uL5v6Ws9/oBb8Ig=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"72dd86f6460f08eb67319c76b3fb491fd9f1dc81","gitHead":"d76afd5892f27a91debbd74fb6e8c07971002d9c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.6","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.7":{"name":"cx-helloworld-readme-ja","version":"1.0.7","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.7","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"66efd55efff4fceb1f3d9526e51ccffab9234f65","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.7.tgz","integrity":"sha512-2XqIRGHgjRAMP2TAuu84a1EUiRILF3PNpmHmYNRhK0LSJ8/9F/oWlX5py+HLyr3L3VeMvT7Mbj3M+rDx3vnNdw==","signatures":[{"sig":"MEYCIQCEux8DIk6Kavd2C0tZGrH7YsYNqPtPLREuSOMeamxz2wIhAIW/P3b0uB65BOVXCjUGXtcGkl+0D9RL71fHuXwVtyko","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"concurix-root.js","_from":".","_shasum":"66efd55efff4fceb1f3d9526e51ccffab9234f65","gitHead":"07f95fcb990a91772320877c425731b4bb9fb34a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.6","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.8":{"name":"cx-helloworld-readme-ja","version":"1.0.8","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.8","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"df2bf1ced6842dc3a2c9bb92f47695f98a45375d","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.8.tgz","integrity":"sha512-PsEkQ6/5kbUzzn5naVwwTEQIq5hTQ5L9zTFiCiLDEm6yZk7K+Vtr12ZE+f3hejo3T8XG761eZxclDsneMhTcHw==","signatures":[{"sig":"MEQCIBATS6UIqqFEIBi97qi5oDXjzEbg6TkXU9wcaYtXRdmrAiBrI3CG1JzAjeP/yqNcYc3InFJnVtjK/eRscKWKI2ei/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"concurix-root.js","_from":".","_shasum":"df2bf1ced6842dc3a2c9bb92f47695f98a45375d","gitHead":"767c0a4cda9c6694dfdcf583c3490191e7e3083a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.6","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.9":{"name":"cx-helloworld-readme-ja","version":"1.0.9","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.9","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"af306a0cc041aa9c0d688b8d1e5f33e538a21dbe","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.9.tgz","integrity":"sha512-PILlY3vIKxaOyirx6oFlyPVGVCBr/09l9bmcbGvJq/S8fytlgE3azNWUyL+DR+6CLYiRqdVrzjUr5OQ++Chowg==","signatures":[{"sig":"MEUCIQDDTMrF8nuZXW5G+Z2W5MyCB+NOyvE39Tj4pLpK66O29QIgK/v9v0L2PMjV9IYJ4+Z2HKhbnkekCQmYq3MrZEx+V/c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"concurix-root.js","_from":".","_shasum":"af306a0cc041aa9c0d688b8d1e5f33e538a21dbe","gitHead":"3ade6bb1a57d48e8e1d229c2e7ba8b957ca8ae6a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.6","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.10":{"name":"cx-helloworld-readme-ja","version":"1.0.10","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.10","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"afb9ef41f35d7b6e8728ba1264a4153640b39e67","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.10.tgz","integrity":"sha512-I/zz3Vak8S6HBT+q0awtGpozloTTdtDgxvX+cI5LKileVo/Q0tKypT+Zq1/aTS3r3Ohv2MjkTYXCzz4Add5P1w==","signatures":[{"sig":"MEUCIQCqHBesV+ew42gyxQCiu3wIjrQqOiNmswq+XC0XzvcmhwIgETXG2JuOM/SXBl23wiq5T40yYHbU/II3sNE31VjFkxk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"concurix-root.js","_from":".","_shasum":"afb9ef41f35d7b6e8728ba1264a4153640b39e67","gitHead":"34908240d76b79d3d03b950bb6cfc3bc4b767583","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.17","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.11":{"name":"cx-helloworld-readme-ja","version":"1.0.11","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.11","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"e303e40443100b81cf165b821693155e6218fc22","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.11.tgz","integrity":"sha512-AxtMCcmw7RZ7WWjGg28jkN/6pdnoeUvrni+tN4TWDRrouFy0c0akHRHJubCBPjfT3SbA8SmhPUsALd06OsT8VQ==","signatures":[{"sig":"MEYCIQDXHvFx9mXSKY2V8l+/BPN3/vjG0dnDCyw1q+Ct6rGbQwIhAJKPDb8Etyv0CZ7L5K3XTBGcphc2Ag1zwpkaIEFXLowo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"concurix-root.js","_from":".","_shasum":"e303e40443100b81cf165b821693155e6218fc22","engines":{"npm":"2.1.x","node":"0.10.x"},"gitHead":"173cacc6ead2699a2e5b3dd8c497eeeb008b05e4","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node concurix-root.js"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.17","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.12":{"name":"cx-helloworld-readme-ja","version":"1.0.12","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.12","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"04fe886ea126bd1d64ab0198ab2ad252cd2b4bbb","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.12.tgz","integrity":"sha512-xfg481QHsV39rmPrAQLjpuzWel+R0DKkTj6G/ixAHx9vuiHC5BHvfT/jJkxPoiIXuyALyDC1PXVCsR1VpEzqKA==","signatures":[{"sig":"MEUCICwnuu1zjaBOzxQPUYsF1xC5SIqXU87tyePgrr4w6s+UAiEAvWYQpU/oOi5VobXW2dJNNTZ6zpBSnQrV8Uj/O5AJ9HE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"concurix-root.js","_from":".","_shasum":"04fe886ea126bd1d64ab0198ab2ad252cd2b4bbb","engines":{"npm":"2.1.x","node":"0.10.x"},"gitHead":"19b54b391a1da1cfaaeba5266d8fd5e494ee94c1","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node concurix-root.js"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.17","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.13":{"name":"cx-helloworld-readme-ja","version":"1.0.13","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.13","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"260732564be8f85f2121af160ba69d3da0b0e3cf","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.13.tgz","integrity":"sha512-nqzqnDPLuu4bQv5bzOlHAJF23R/kfWRYiOOFmCG8QcK6K2sd1gAtRdi7iHMjZqnPZ4JQ3wksbGD0Gq/K+L9TxA==","signatures":[{"sig":"MEYCIQCvtVzA9u/HllDDiU6cTEEAgMfW3ANmCpLWCtLEmcRSJwIhAMik77L0SYWjjdvvPGvsma4e5pnt14aJtok9+LFfKv4o","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"concurix-root.js","_from":".","_shasum":"260732564be8f85f2121af160ba69d3da0b0e3cf","engines":{"npm":"2.1.x","node":"0.10.x"},"gitHead":"07fc3c610f43485f63e8674c9f29927dcf8f91fb","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node concurix-root.js"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.17","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.14":{"name":"cx-helloworld-readme-ja","version":"1.0.14","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.14","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"69c0a33df156c2b8ce757316c57ac81d05551440","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.14.tgz","integrity":"sha512-QMPjTMrIORqlnvTTxUNrTRBpmu0naTCPzgpAZt3MfD0lFZWjsZOMMPXj/nED8JziCOZDCexFqZEw5NIDkEKc7A==","signatures":[{"sig":"MEUCIQCfxCA5sS7hWIDHfUVWhFU10ckgsl+9C52xY5hHwKPlZwIgeNxUAX1RqXodmP0jIrFxRBpWNANDLPqjwWirNUjP7rA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"concurix-root.js","_from":".","_shasum":"69c0a33df156c2b8ce757316c57ac81d05551440","engines":{"npm":"2.1.x","node":"0.10.x"},"gitHead":"be9b30c8812ba7843afe664eb1525057e8183452","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node concurix-root.js"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.17","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"},"1.0.15":{"name":"cx-helloworld-readme-ja","version":"1.0.15","keywords":["cx-helloworld","concurix","concurix-server"],"author":{"name":"Tetsuo Seto"},"license":"MIT","_id":"cx-helloworld-readme-ja@1.0.15","maintainers":[{"name":"setogit","email":"setotet@gmail.com"}],"homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"dist":{"shasum":"9dbb14fbfd94699431b1d8da24614c4a963e1573","tarball":"https://registry.npmjs.org/cx-helloworld-readme-ja/-/cx-helloworld-readme-ja-1.0.15.tgz","integrity":"sha512-AtT8EMZ+88EqSvLgs2B7iuzVl2t48MetJQWjfgxlcS80xpTLUvajBpZCP9E4AcNk48/5EdyiI+GMnsPEe7ih+A==","signatures":[{"sig":"MEQCIGwsbmgf5IctMNBJdHkPCfPZvbeE6oTF1O/rgawlykVgAiBqCuqLg77f1FtHHxRI0UDwx2lJMV1/QtMvTw9+u888fg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"concurix-root.js","_from":".","_shasum":"9dbb14fbfd94699431b1d8da24614c4a963e1573","engines":{"npm":"2.1.x","node":"0.10.x"},"gitHead":"0da9c09508fab81b2572cf4f65b16513d873ce3a","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node concurix-root.js"},"_npmUser":{"name":"setogit","email":"setotet@gmail.com"},"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"_npmVersion":"2.1.17","description":"Japanese transalation of cx-helloworld README.md","directories":{},"_nodeVersion":"0.10.33"}},"time":{"created":"2014-11-08T01:17:28.983Z","modified":"2026-04-14T15:15:50.955Z","1.0.0":"2014-11-08T01:17:28.983Z","1.0.1":"2014-11-08T01:24:40.197Z","1.0.2":"2014-11-09T02:42:29.286Z","1.0.3":"2014-11-13T00:29:05.877Z","1.0.4":"2014-12-02T19:26:02.424Z","1.0.5":"2014-12-04T21:30:26.300Z","1.0.6":"2014-12-04T23:22:36.077Z","1.0.7":"2014-12-04T23:36:41.079Z","1.0.8":"2014-12-10T19:36:36.939Z","1.0.9":"2014-12-12T01:15:18.276Z","1.0.10":"2015-01-05T20:01:27.818Z","1.0.11":"2015-01-10T02:10:37.395Z","1.0.12":"2015-01-12T18:55:09.899Z","1.0.13":"2015-01-14T22:01:19.887Z","1.0.14":"2015-02-09T21:17:59.373Z","1.0.15":"2015-02-09T21:24:49.591Z"},"bugs":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja/issues"},"author":{"name":"Tetsuo Seto"},"license":"MIT","homepage":"https://github.com/Concurix/cx-helloworld-readme-ja","keywords":["cx-helloworld","concurix","concurix-server"],"repository":{"url":"https://github.com/Concurix/cx-helloworld-readme-ja.git","type":"git"},"description":"Japanese transalation of cx-helloworld README.md","maintainers":[],"readme":"# cx-helloworld\n\nあなたの Nodejs アプリに Concurix profiling and monitoring solution をインテグレーションする方法を解説。10分で試せる cx-helloworld を使う方法から、詳細な機能と使用方法まで、スクリーンショットやリンクを豊富に使って説明しています。\n\n<br><hr>\n# helloworld を使って試してみる\n\n**ステップ 1** concurix-server をインストール、実行する:\n\n*concurix-server は、貴方のアプリのトレース・データ、ソースコードの情報をメモリ上か貴方の指定するファイルに格納し、どこかに送ることはありません。*\n\nグローバル インストール (推奨):\n\n``` bash\n$ npm install -g concurix-server\n$ concurix-server\n```\n\nローカル インストール:\n\n``` bash\n$ npm install concurix-server\n$ ./node_modules/concurix-server/bin/server.js\n```\n\n**ステップ 2** helloworld をインストール、実行する:\n\n``` bash\n$ npm install cx-helloworld\n$ node ./node_modules/cx-helloworld/concurix-root.js\n```\n\n**ステップ 3** ブラウザでモニタする: [http://localhost:8103/dash/wfp:helloworld](http://localhost:8103/dash/wfp:helloworld)\n\n<br><hr>\n# 基本設定を理解する\n\nhelloworld.js のように、一つのファイルからなるモジュールは次のように走らせますね。\n\n``` bash\n$ node helloworld.js\n```\nhelloworld.js を Concurix を使ってトレースする場合、一番、手っ取り早い方法は、helloworld.js は、そのままで、別に、wrapper を作り、そこで、トレーサと helloworld.js を require すればよいのです。cx-helloworld/concurix-root.js を見てください。\n\n``` bash\n$ node concurix-root.js\n```\nhelloworld が、走って、ブラウザからモニタできたら、次は、貴方自身のモジュールをモニタしてみましょう。それが、myapp.js だったとすると、myapp.js を cx-helloworld ディレクトリ下に置き、concurix-root.js の 2 行目にある、\n\n```javascript\nrequire(\"./helloworld.js\")\n```\nを\n\n```javascript\nrequire(\"./myapp.js\")\n```\nに変えて、\n\n``` bash\n$ node concurix-root.js\n```\nとすれば、myapp.jsのトレースができます。次に、トレーサのパラメータを説明します。\n\n## <a name=\"tracer_parameters\"></a>4 つのトレーサ パラメータ\n\nconcurix-root.js の最初の require 文でトレーサを設定しています。トレーサの設定はトレースしたい全てのモジュールの前に実行する必要があるので、require(\"concurix\") 文をどこに置くかは、大切なポイントです。次に 4 つのパラメータを用途に合わせて、変更します。\n```javascript\nvar concurix = require(\"concurix\")({\n  accountKey: \"wfp:helloworld\", // 必要  \"wfp:\"で始まる英数字文字列\n  archiveInterval: 5000,    // ミリ秒  規定値 60000\n  api_host: 'localhost',        // 規定値 'localhost'\n  api_port: 8103                // 規定値 8103\n})\n```\n**accountKey** [必要] : 'wfp:'で始まる英数字の文字列を指定します。ベスト プラクティス (best practice) は、プロジェクト名やモジュール名を使うこと。例えば、 プロダクションの「dashboard」というモジュールをモニタするのなら、「wfp:prod-dashboard」、テスト環境で「payment」サブシステムをモニタしたいのなら、「wfp:test-payment」が適当かもしれません。[「技を極める」](#faqs_tips)の[「サーバ設定オプション」](#server_config_options)で、詳しく説明しますが、特に、データをファイルに残しておく場合、どのプロセスをトレースしたかが分かるように一貫した名前付けをしておくと、解析する際、便利です。適当に「wfp:wer234jwe」とかしてしまうと、トレースはでき、データは残せますが、後で「なんのこっちゃ」と頭を抱えることになりかねません。\n\n**archiveInterval** [オプション] :  (ミリ秒) トレーサが Concurix サーバにデータを送る時間間隔で、5000 (5秒) 以上、 60000 (1分)以下の値を指定します。archiveInterval によらず、一つのトレース ファイルのデータ量に大きな変化はありせんから、archiveIntervalの値を十分の一にすると、データの精度が 10 倍になる代わりに、トレース ファイル数も 10 倍になり、従って、保存に必要なスペースも 10 倍になります。データをメモリに置くか、ファイルするかによって、メモリ量、ディスク スペースへのインパクトを考えておかねばなりません。また、archiveIntervalが小さいほど、トレーサとサーバ間のデータ送受信が、より頻繁に行われるので、パフォーマンスにも多少、影響があります。規定値は 60000 です。\n\n**api_host** [オプション] : Concurix サーバのURLを指定します。モニタするモジュールを走らせるホスト、すなわち、トレーサが走るのと同じホスト上でサーバを走らせるか、別のホストでサーバを走らせるかを選択することができます。前者の場合は、「localhost」と指定すればよいし、後者の場合は、そのリーモート ホストのURLを指定します。いずれの場合も、サーバ側には、上述のメモリ量、ディスク スペースが必要になります。規定値は 'localhost' です。\n\n**api_port** [オプション] : Concurix サーバが聞き耳を立てているポート番号です。規定値は 8103 です。変更する場合は、サーバを起動する時に、同じポート番号を指定することをお忘れなく。\n\n\n## concurix-server\n\nトレーサは Concurix サーバに HTTP プロトコルを使ってデータを送りますが、時に、トレーサ側で次のようなエラー メッセージを目にすることがあります。\n\n\tError attempting to send trace file: Error: connect ECONNREFUSED\n\nこれは、トレーサの'api_port'で指定したポートで、Concurix サーバ プロセスが動作していないため、サーバ自身は立ち上がっていても、接続が拒否されたというエラーです。例えば、トレーサを走らせたままで、サーバ側の設定を調整するために、一旦、サーバ プロセスを停止した場合などにも起こります。その時点で、トレーサが送ろうとしていたデータは失われますが、他に悪影響はありません。Concurix サーバ プロセスが動作しているにもかかわらず、トレーサ側で、このエラーが発生した場合は、トレーサ側の api_host の設定が違っているか、トレーサ側とサーバ側のポート番号の設定が一致していないことが考えられます。\n\nconcurix-server をセットアップするには、 'npm install -g concurix-server' としてグローバルにインストールし、concurix-server でスタートするのがよい方法です。\n``` bash\n$ npm install -g concurix-server\n$ concurix-server [port]\n```\nここで指定する port は、トレーサの api_port で指定したポート番号と同じ数値を使います。\n\n*OSX上に設定する場合の注意* concurix-server のインストールの際には、concurix-server が依存するいくつかのモジュールのコンパイルが行われます。OSX上で、コンパイルするためには、Apple xCode (約2GB) か Apple Command Line Tool (約300KB)が必要です。いずれも設置されていない場合は、ファイル サイズの小さい CLT を、次のようにして設置するのが得策です。OSXのバージョンによっては、別の方法で xCode か CLT の設置が必要です。\n``` bash\n$ xcode-select --install\n```\n*Linux上に設定する場合の注意* concurix-server のインストールの際には、concurix-server が依存するいくつかのモジュールのコンパイルが行われます。そのために g++ が必要です。例えば、Ubuntu上では、次のコマンドで g++ を設置することができます。\n``` bash\n$ sudo apt-get update\n$ sudo apt-get install g++\n```\n\n以上の設定が完了すると、トレーサから送られたデータは、サーバ側データベースへ格納され、同時に、様々なデータ テーブルもリアルタイムで更新されていきます。そして、ブラウザから、システムの挙動をリアルタイムで、モニタすることができるようになります。\n\n\thttp://<api_host><:api_port>/dash/<accountKey>\n\nちなみに、cx-helloworldは、 [http://localhost:8103/dash/wfp:helloworld](http://localhost:8103/dash/wfp:helloworld) で、モニタすることができます。\n\n<br><hr>\n# <a name=\"advanced_topics\"></a>Concurixを使いこなす\n\nConcurix profiling and monitoring solution は、トレーサ、サーバ、Web UIで、構成されています。\n\n## <a name=\"direct_tracer_integration\"></a>直接、トレーサをインテグレーションする\n\ncx-helloworld では、トレースするモジュール、helloworld.js を変更せずに、concurix-root.js という wrapper を作り、そこに require('concurix') 文を置いてトレーサをインテグレートしました。別のインテグレーション方法は、トレースするサブシステムのルート モジュールの最初、すなわち、他の「require」文の前に、require('concurix') を置くように、当該モジュールファイルを直接、変更することです。次の文を、挿入すれば、「直接、トレーサをインテグレーションする」のは完了です。\n\n```javascript\nvar concurix = require(\"concurix\")({\n  accountKey: \"wfp:helloworld\",\t// 必要  \"wfp:\"で始まる英数字文字列\n  archiveInterval: 5000,\t\t// ミリ秒  規定値 60000\n  api_host: 'localhost',        // 規定値 'localhost'\n  api_port: 8103                // 規定値 8103\n})\n```\n\n## <a name=\"server_config_options\"></a>サーバ設定オプション\n\nサーバ側には、6 つの設定オプションがあります。これらは、config.json ファイルに定義してありますから、これを直接、エディットしてオプションを変更してください。concurix-server をグローバル インストールした場合は、/usr/local/lib/node_modules/concurix-server/config.json になります。\n\n```javascript\nvar config_options = {\n\tstale_minutes: 750, // データベースにトレース データを保存する期間を分で指定。 1日は、60 x 24 = 1,440\n\tchart_minutes: 720, // [timeline ビュー](#timeline_view)に表示するトレース データの期間を分で指定。1日は、60 x 24 = 1,440\n\tmax_transaction_count: 30, // [transaction history ビュー](#transaction_view)に表示するトランザクションの数\n \tin_memory: false, // トレース データベースをメモリに置くか、ファイルに置くか。\n \tdir_path: \"./\", // トレース データベースをファイルに置く場合のディレクトリ パス\n \tdb_name: \"minkelite.db\" // トレース データベースをファイルに置く場合のデータベース ファイル名\n}\n```\n\n## <a name=\"timeline_view\"></a>timeline ビュー\n\n![oz_timeline](images/oz_timeline.jpg)\n\nブラウザで、例えば、[http://localhost:8103/dash/wfp:helloworld](http://localhost:8103/dash/wfp:helloworld) とした時に、このビューが最初に表示されます。上の折れ線グラフは、load average (1m) と process uptime を示します。プロセスが再起動した場合は、process uptime はゼロに戻りますが、Process IDも変わりますから、timeline ビュー上では、process uptime は、常に、右肩上がりの直線となります。下の折れ線グラフは、当該プロセスのメモリ使用状況を示します。RSS とは、「Resident Set Size」です。\n\ntimeline ビュー上で、マウスを移動すると、黒い縦線が、カーソル位置に現れます。黒い縦線は、特定の時刻を指し示しています。この状態で、クリックすると、その時刻のトレース データを表示する[summary statistics ビュー](#summary_statistics_view)に表示が移ります。\n\n* Host リスト　と Process ID リスト\n\ntimeline ビューの右肩に Host リストと Process ID リストが表示されます。例えば、複数のトレース モジュールを複数のホストで走らせ、一つの Concurix サーバに全てのデータを送るように設定した場合、これらリストから、 Host と Process ID を選択して、表示することができます。初回の表示は、一番、最近のデータを持つ Host / Process ID を自動的に選択し表示します。トレースしているアプリが、再起動した場合、Process ID は変わります。通常、後からスタートしたプロセスは大きな Process ID を持ちますが、OS が再起動した場合、Process ID は小さい値に戻るので、長期間にわたるモニタリングの際は、OS の再起動があると、同じホスト、Process IDでも全く異なるデータであることも起こりえます。ただし、その場合でも、NTPなどを使ってホストのクロックが正しく設定されている限り、時刻は異なりますから見分けることはできます。また、同一のホストでも、OSにより、ホスト名が変化する場合があります。例えば、私の Mac Book Pro は、SetoMBP.local や SetoMBP.home などのホスト名で表示されています。\n\n## <a name=\"transaction_view\"></a>transaction history ビュー\n\n![oz_transactionhistory](images/oz_transactionhistory.jpg)\n\nTransaction history ビューには、サーバ設定オプションの max_transaction_count で指定された数だけトランザクションを表示します。例えば、上のスクリーンショットでは、２つのトランザクション型：\"request GET http://localhost:8123/\" と\n \"serve GET /\"を表示しています。各々のトランザクション型をクリックすると、どちらも、69 のトランザクション インスタンスが表示されている。\n\nなぜ、69 トランザクション インスタンスがあるのでしょうか。これらグラフは、chart_time を 10分に設定して表示したものです。[summary statistics ビュー](#summary_statistics_view)を見ると、実際の archive interval (Profile time duration) は、8.6 秒であることが分かります。10分 = 600 秒 / 8.6 秒 = 69.76 ですから、69 になる訳です。また、 Profile time duration (実際の archive interval) は、トレーサの起動時に、ランダムに決まりますから、cx-helloworldの規定のセットアップを使ったとしても、cx-helloworld を再起動すると、Profile time duration は常に 8.6 秒になる訳ではありません。\n\n各インスタンスは、かかった処理時間の平均と標準偏差を、株価の変化を表示するのによく使われる「ローソク足」というチャートで示しています。各インスタンスは、一つのトレース ファイルに相当し、この場合は、8.6 秒間のデータを含んでいます。helloworld.js を読むと、毎秒一つのHTTP GETリクエストを送っていますから、8.6 秒の間には８つか９つのHTTP GETリクエストが発生しているはずです。それらHTTP GETリクエストの処理時間はばらつくので、標準偏差はゼロでない値を持つことになります。\n\nmax_transaction_count は、表示するトランザクション型の数を決めるのに使われます。ただし、Concurix サーバのデータベースには、max_transaction_count にかかわらず、全てのデータが記録されます。「では、全部、表示したらよいではないか」と思われるかもしれません。max_transaction_count を使う理由は以下の通りです。arhiveInterval を１分とすると、負荷の大きなサービスの場合、一つのトレース ファイルに、何千というトランザクションが記録されることも起こりえます。全てを表示するに必要なメモリ量、処理時間は妥当なコストなのか、何千もあるトランザクションを全部検討できるのか、表示するスクリーンの解像度は十分か、などを考えると「常に全部表示する価値がある訳では無い」ということになります。そういう状況に応じて max_transaction_count 値を設定する訳です。\n\nConcurix サーバが max_transaction_count で指定された数だけ、トランザクションを選ぶ際、処理時間の最大値が大きいものから優先的に選んで表示し、分析を効率的に行うことを助けるようになっていることも大切な点です。開発環境では、できるだけ多くのトランザクションを表示し、プロダクション環境では少なく設定するのが効率的であると言えます。[開発環境とプロダクション環境で推奨されるサーバ設定オプション](#config_options_tip)で詳述します。\n\ntransaction history ビュー上でも、黒い縦線カーソルを移動し、クリックすると、timeline ビューと同様に、[summary statistics ビュー](#summary_statistics_view)に移行し、特定の時刻のトレース データを更に分析することができます。\n\n## <a name=\"summary_statistics_view\"></a>summary statistics ビュー\n\n![oz_summarystatistics](images/oz_summarystatistics.jpg)\n\n「Profile time duration」は、実際のデータ送信間隔 ( archive interval ) を示します。トレーサは初期化の際、archiveInterval としてユーザが設定した値に、5 秒以下のランダムな値を加えたものを実際のデータ送信間隔とします。「Total time executing javascript」は、実際に Javascriptの実行にかかった時間を、「Synchronous code execution」は 、その時間をパーセントで示しています。\n\n## <a name=\"transaction_sequences_view\"></a>transaction sequences ビュー\n\n![oz_transactionsequences](images/oz_transactionsequences.jpg)\n\ntransaction sequences ビューは、非同期 callback がいつ呼ばれたのか、実行時間はどのくらいだったのかを示しています。上のグラフでは、緑色のバーをクリックすると flame graph ビューに移行します。 \n\n## <a name=\"flame_graph_view\"></a>flame graph ビュー\n\n![oz_waterfall](images/oz_waterfall.jpg)\n![oz_flamegraph](images/oz_flamegraph.jpg)\n\n最後に、flame graph ビューでは、コード パスを階層的に、二次元で表示しています。flame graph ビューの下には、同じ情報を図ではなく文字列を使って、いわば一次元的に表示します。flame graphを見ると構造が、一目瞭然で、文字列による表示と比べると、複雑な情報をより効果的に表示できるのがお分かりいただけると思います。更に、詳細は [flame graphの読み方](#flame_graph_analysis)を参照してください。\n\n<br><hr>\n# <a name=\"faqs_tips\"></a>技を極める\n\n## Error: Cannot find module 'jade'\n\nサーバ、トレーサを設定し、データが記録されていることを確認したあと、ブラウザで、例えば、[localhost:8103/dash/wfp:helloworld](http://localhost:8103/dash/wfp:helloworld) の様にして、初めてモニタしようとすると、「 jade が見つからない」というエラーになったという方のための技です。このエラーは、「 express が jade にアクセスしようとしたが、見つからない」という意味です。このエラーが起こった場合、concurix-server の package.json には、express と jade の両方に依存すると記述してあるにもかかわらず、concurix-server/node_modules のディレクトリ下には jade しかインストールされていない。concurix-server/node_modules に両方がインストールされていない場合、concurix-server 下で、「 npm install 」を行い、concurix-server/node_modules に express と jade の両方が存在することを確認してから、concurix-server を再起動すれば、正しく設定されます。これは Concurix に限ったことではなく、他にも同じ苦労をされている方がいらっしゃるようで、[この Stackoverflow の投稿 ](http://stackoverflow.com/questions/22542202/using-jade-that-comes-with-express-js) に事情が書いてあります。興味のある方はご一読ください。\n\n## トレーサがうまく起動しないのだが、なぜ ?\n\nflame graphs で分かるように、トレーサは、我々のモジュールはもちろん、依存するモジュールの全ての関数もトレースして、何十万行にも及ぶ、アプリ全体の挙動を記録しています。なかなか大変な仕事をしている訳です。で、時として、トレーサが根をあげることも起こる。setTimeout に自らの関数を callback として引き渡す場合が、一例です。筆者の場合は、setIntervalを使って書き直しましたが、常にそれができる訳ではありません。リファクタリングは工数がかかりすぎるかもしれないし、第三者のモジュールでは、難しい。\n\n簡単な対応策は、「 black list 」です。 以下に示すように、トレーサを初期化する際に「 ここに落とし穴があるよ 」と知らせておくのです。\n\n```javascript\nvar concurix = require(\"concurix\")({\n  accountKey: \"wfp:helloworld\", // 必要  \"wfp:\"で始まる英数字文字列\n  archiveInterval: 5000,    // ミリ秒  規定値 60000\n  api_host: 'localhost',        // 規定値 'localhost'\n  api_port: 8103,               // 規定値 8103\n  blacklist: [\n\t\"*/foo.js\",  // block any file named \"foo.js\"\n\t\"*node_modules/foo/*\" // block anything under module \"foo\"\n  ]\n})\n ```\n\n## <a name=\"config_options_tip\"></a>開発環境とプロダクション環境で推奨されるサーバ設定オプションは何ですか？\n\n開発段階では起こっていることをリアルタイムに、注目している短い時間だけ、精度よくモニタしたいでしょう。プロダクション環境では、1日とか３日とか比較的長い時間、データを残し、オフライン解析のためにデータベースをファイルとして保存し、プロダクション システムへのパーフォーマンスのオーバヘッドを低く抑えるために、archiveInterval を大きくし、リアルタイムのモニタリングも軽量化するために max_transaction_count を小さい値に設定する方がよいでしょう。[「オフライン解析」](#offline_analysis) については後述します。規定値、[ここに示したサーバ設定オプションの規定値](#server_config_options) と [ここに示したトレーサ パラメータの規定値](#tracer_parameters) は、その両方に使える設定になっています。\n\nサーバ設定オプションとトレーサ パラメータのうち、数値で指定するものは全て、トレース データを格納するメモリ、或いは、ディスク容量に影響を与えます。トレースの目的と、トレースのコストを考え合わせて、決める必要があります。Concurix profiling and monitoring solution は、開発段階だけでなく、プロダクション システムへの展開も考慮して設計されています。我々自身の使用経験から、種々のパラメータとオプションを作り込んでありますから、様々な環境で、それぞれの目的に合った設定を選択して使っていただけます。\n\n以下に、我々の推奨するトレーサ パラメータとサーバ設定オプションを開発段階とプロダクションに分けて示します。実際は、それぞれの状況に合わせて、変更して設定していただければよいのです。\n\n\n**トレーサ パラメータ**\n\n|  | 開発環境 | プロダクション | 定義 |\n| ------------- | ----------- | ----------- | ----------- |\n| archiveInterval | 5000 ミリ秒 | 60000 ミリ秒 | トレーサからサーバにデータを送る時間間隔の目安 |\n| api_host | \"localhost\" | リモートサーバの URL | Concurix サーバの URL |\n| api_port | 8103 (規定値) | システムに合わせて設定 | Concurix サーバのポート番号 |\n\n**archiveInterval** はトレースデータの精度を決める重要なパラメータです。10倍大きな値にすると、精度は十分の一に落ちますが、データ量も十分の一になるので、データ格納スペースを効率化できます。\n\n**api_host と api_port**は Concurix サーバの設置場所を示します。トレーサとサーバーは、HTTP APIを使ってやりとりします。例えば、複数のモニタするアプリ（トレーサ）とサーバを全て同じホスト上で動かすと、サーバ プロセスを動かすための、メモリ、CPUバンド幅は、アプリに影響を与えます。サーバをリモート ホストで動かすと、そのようなメモリ、CPUバンド幅の影響は無くなるものの、HTTPによるネット上の通信のための時間がかかるようになります。\n\n**サーバ設定オプション**\n\n|  | 開発環境 | プロダクション | 定義 |\n| ------------- | ----------- | ----------- | ----------- |\n| stale_minutes | 15 分 | 1450 分 | データベースにトレース データを保存する期間　これ以上古くなったデータは順次削除する |\n| chart_minutes | 10 分 | 1440 分 | Timeline ビューに表示するデータ期間 |\n| max_transaction_count | 500 | 20 | Transaction ビューに表示するトランザクション数 |\n| in_memory | true | false | トレース データベースをメモリに置くか、ファイルに置くか |\n| dir_path | 不要 | \"./\" | トレース データベースをファイルに置く場合のディレクトリ パス |\n| db_name | 不要 | \"minkelite.db\" | トレース データベースをファイルに置く場合のデータベース ファイル名 |\n\narchiveInterval と同様、stale_minutes を変えることにより、ストレージ容量、パーフォーマンスへの影響を調整できます。例えば、開発環境用の値 (archiveInterval: 5 秒、stale_minutes: 15 分)の場合、データベース サイズは、数MBであり、メモリ上に置いても問題なく、システム、モニタの反応も速い設定になります。メモリ上に置くので、サーバを再起動するとデータは失われますが、私は、開発段階ではラップトップで、この設定値を使っています。 一方、障害発生時など、詳細なオフライン解析を目的とするプロダクションへの設置には、archiveInterval: 60 秒、stale_minutes: 4320 分 = 3 日としています。また、プロダクション環境では、Concurix サーバを別のホストで走らせ、かつ、定期的にトレース データベース ファイルをコピーして保存しておくのが運用上、良い方法です。\n\n*留意点: Timeline ビューに表示するデータ点、すなわち、トレース データ数は最大5,000で、それ以上になるとチャートには何も表示されなくなります。この値は過度にシステムリソースを使うことを防ぎ、且つ、実用上十分に多くのデータを表示できるように、決めました。archiveIntervalを１分とすると、３日分のデータ、4,320 点を表示するのに十分な値です。データベースに保存するデータ数は、この制限はありませんから、stale_minutes を大きな値に設定しても、chart_minutes を、小さい値に設定して、Timeline ビューに表示するデータ点が、5,000 を超えないようにしてください。*\n\n## <a name=\"offline_analysis\"></a>オフライン解析（ Flight Recorder 機能 ）\n\nConcurix サーバはトレース データをデータベースとして保存します。サーバは、stale_minutes で指定されたデータを保存し、古いデータは削除する「 pruning 」処理を常時行っています。一般に、TTL (time to live) と呼ばれる処理です。\n「 in_memory 」を false とすると、トレース データを「 dir_path 」と「 db_name 」で指定されたファイルに格納します。ファイルに格納すると、次のような使い方ができます。\n\nプロダクション システムの障害発生時には、当該データベース ファイルをコピーし、「 localhost 」に、Concurix サーバを設置し、 「in_memory 」を false として、そのデータベースファイルを、「 dir_path 」と「 db_name 」で指定することにより、障害発生前のシステムの挙動をオフラインで解析することができます。いわば、航空機に搭載されている [Flight Recorder](http://en.wikipedia.org/wiki/Flight_recorder) と同じ機能です。オフライン解析の際、忘れてはならないのは「 stale_minutes : 0 」と設定して「 pruning 」処理を行わないようにすることです。また、オフライン解析時には、トレーサは設置しません。\n\n## Concurix がシステムに与えるオーバーヘッドはどのくらいですか ?\n\n設定に応じて、必要なリーソスは大きく変わりますから、一言ではいえませんが、[開発環境とプロダクション環境で推奨されるサーバ設定オプション](#config_options_tip)を使った場合、オーバヘッドは小さく、いわゆる「 ノイズ レベル 」です。様々なニーズにあった設定が、開発環境でも、プロダクション環境でも、十分に見合うコストで実現できると考えています。\n\n## <a name=\"flame_graph_analysis\"></a>flame graph の読み方、解析の仕方を教えてください\n\nflame graph は、システムの挙動を細部に渡って表示してくれます。貴方のモジュールと依存する全てのモジュールの情報を含んでいますから、初見では「取りつく島がない」と思えるかもしれません。ここでは、flame graph の解析は、どこから取り掛かると良いかをご紹介します。\n\nまず最初に、自分の最もよく知っているモジュールを選びます。たとえば、cx-helloworld とします。次に、flame graph を鳥瞰して、あるいは、ブラウザの Find を使って、そのモジュール名を探し、flame graph では、何色で表示されているかを把握します。例えば、[helloworld の例](#flame_graph_view)では、「 cx-helloworld#app.get() fn argument 」が、「淡緑色」で表示されています。これは、全ての flame graphs を通して、cx-helloworld モジュールは、「淡緑色」で表示されることを意味しますから、まず、この色を頭に入れておきます。本READMEで使っているスクリーンショットは、規定のパラメータとオプションを使って、私の Mac Book Pro 上で、動作している cx-helloworld の動作を示しています。貴方が同様に設定した cx-helloworld では、ほぼ同じ flame graph になるはずですが、様々な条件が違うので、cx-helloworld モジュールの色も含めて、全く同じにはならないことは言うまでもありません。\n\n```javascript\napp.get(\"/\", function(req, res) {\n  res.end((new Date()).toString()+\" Hello world!\");\n});\n},1000);\n```\nhelloworld.js を読むと、app.get に引き渡された callback は、res.end 関数を呼ぶことが分かります。[この flame graph](#flame_graph_view)は、それを示しています。すなわち、 cx-helloworld#app.get() fn argument 」の淡緑色のバーのすぐ上には、「 http#OutgoingMessage.prototype.end 」が載っています。淡緑色のバーの下には 28 の「緑色」のバーが階層的に並んでいて、これらは全て同じ「 express 」 モジュールを示しています。よく知られているように、Express が大きな助けになっていることが、その階層の厚さから、分かります。また、「紫色」の、小さなバーにも気がつきます。マウスをその上に移動するか、ブラウザの拡大機能を使うと、その「紫色」のバーは、「 parseurl 」 モジュールであることが分かります。\n\nさて、他の flame graph から、「淡緑色」のバーを見つけてみましょう。「 cx-helloworld#setInterval() fn argument 」と「 cx-helloworld#setInterval() fn argument>request() fn argument 」が見つかります。それらは、helloworld.js の次の関数呼び出しに対応しています。\n\n```javascript\nsetInterval(function(){\n\trequest(\"http://localhost:8123\",\n\t\tfunction(error, response, body) {console.log(body);});\n},1000);\n```\nhelloworld.js は単純なモジュールなので、一目して app.get と setInterval 以外に app.listen も呼んでいることが分かります。app.listen に引渡した 無名 callback 関数は、この flame graph ビューのどこかに登場しているのでしょうか。\n\n```javascript\napp.listen(port, function() {\n  console.log(\"Listening on \" + port);\n});\n```\n答えは、「どこにも登場していない」です。なぜかというと、app.listen とその無名 callback 関数は、helloworld.js が起動された直後に呼ばれて、その helloworld HTTP サーバが HTTP リクエストを受け付ける状態になった後では、二度と呼ばれません。この flame graph ビューは helloworld.js が起動されてから、しばらくたった状態のものですから、どこを見ても見つからないのは当然です。もし、app.listenの無名 callback 関数が、flame graph ビューのどこかに見つかったとすると、その時点で helloworld.js が再起動したことを意味します。\n\n次のことを試してみましょう。Concurix サーバを走らせたままで、helloworld プロセスをマニュアルで、停止し、再起動してみます。ここでは、「 node concurix-root.js 」として再起動します。再起動すると、サーバには、新しい Process ID が現れます。10 秒ほど待つと、最低一つのトレース ファイルがサーバ側のデータベースに格納されますから、ブラウザを使い timeline ビューの右上にある Process ID リストから、その新しい Process ID を選びます。そして、timeline ビュー上で、一番左端、すなわち、時間軸で一番古いポイントをクリックし、flame graph ビューまで進みます。\n\n二つの事に注目してください。まず、気がつくことは、[summary statistics ビュー](#summary_statistics_view)のパーチャートのオレンジ色の部分が大きいことです。これは、起動時に負荷がかかったことを意味します。次に、flame graph ビューの構成が、上のスクリーンショットに示されている定常状態に達した後の構成とずいぶん違います。これも、起動時には、システムの動態が全く異なることを意味しています。\n\nそして、同じように、注目する色を見つけようとブラウズしていると、「 cx-helloworld#app.listen() fn argument 」を発見できます。\n\nこれまで見てきたように、flame graph は、関数呼び出しの構造を理解するための強力な助けになります。最後に、cx-helloworld より複雑な構造を示す flame graph の一例を示します。\n\n![ghost_flamegraph6](images/ghost_flamegraph6.jpg)\n\n## timeline ビューの時間軸に時々見られるオレンジ色の三角マークは一体、何ですか?\n\nオレンジの三角マークは、簡単な統計処理から、その時点のトレース データにある「 system loadavg 」か「 process memory used 」の値が、３シグマの外にあることを示しています。シグマは、標準偏差値で、３シグマは、平均値に標準偏差の３倍の値を加えたものより大きいことになります。ここで、「 process memory used 」は、注目しているプロセスの heap 使用量を示していますが、「 system loadavg 」は、システム全体のロードを示していることをお忘れなく。\n\n## [transaction sequences ビュー](#transaction_sequences_view)に現れる 'Untagged Waterfalls' とは何ですか？\n\n'Untagged Waterfalls' は、HTTP リクエストなどの特定のトランザクションに関係付けられなかったコードパスを示します。他の関係付けられたコードパスと同じように、クリックすれば、flame graph を使った詳細の解析が可能です。\n\n## Concurix サーバが書き出す console log の意味は?\n\n[morgan](https://www.npmjs.com/package/morgan) からのアウトプットで 'combined' フォーマットです。\n\n:remote-addr - :remote-user [:date[clf]] \":method :url HTTP/:http-version\" :status :res[content-length] \":referrer\" \":user-agent\"\n\n例えば,\n\n127.0.0.1 - - [26/Nov/2014:18:04:44 +0000] \"POST /results/1.1.0 HTTP/1.1\" 202 - \"-\" \"-\"\n\n## Heroku で concurix-server は動作しますか?\n\nはい。concuix-server のバージョン 0.2.19 以降をご使用ください。クライエント側の tracer parameters では、api_host として concurix-server が動作している Heroku app 名を指定し、 api_port として 80 を指定してください。\n\n<br><hr>\n# その先にあるもの\n\nnpmjs.com に登録されている Nodejs/Javascript パッケージ数は、104,000を越え、Maven CentralのJavaパッケージ数、Rubygems.comのRubyパッケージ数を凌いで、2014年、トップに躍り出ました。 2012年初頭の登録パッケージ数は、Java、Rubyの 2 割以下だったこと、現在、1日の増加数が、Java、Rubyの 70 以下であるのに対して、Nodejs/Javascriptは、210 以上であることを考えあわせると、Nodejs/Javascript は、メインストリームになったと言っても過言ではありません。( [http://www.modulecounts.com](http://www.modulecounts.com/)調べ )\n\n我々、Concurix は、比類のない machine generated time-series data analytics の実現と、Nodejs コミュニティへの貢献を目的として、様々な技術を開発しています。 一例として、 [このブログ](http://concurix.tumblr.com/post/98410980754/v3-has-launched)では、機械学習を使ったデータ サンプリング手法について紹介しています。また、Concurix トレーサ、サーバ、cx-helloworld は、いずれも、github、npm に公開しています。\n\nこれら公開モジュールやカスタム データ ロギング、マルチ ユーザ版 Concurix など高度な機能を擁する Concurix Enterprise Edition に、ご興味をお持ちのは、私、seto@concurix.com 宛、あるいは、support@concurix.com 宛に、ご連絡お待ちしています。\n","readmeFilename":"README.md","users":{"syaro":true}}