DotCloud에서 StrongOps로 앱을 실행하려고했지만 프로세스/앱에 대한 정보가 대시 보드에 표시되지 않습니다. 일반적으로 잘 작동합니다. API 키와 APP 이름이 코드에 직접 전달되었습니다. 또한 ENV vars (SL_APP_NAME 및 SL_KEY) 설정하려고하지만 결과가 없습니다.DotCloud에서 작동하지 않습니다
앱 이름 - 임의의 문자열이며 실제 변수를 나타내는 것이 아닙니다. 맞습니까?
로그. 만이
strong-agent profiling
Cluster controls unavailable.
내 코드
require('strong-agent').profile(KEY,APP_NAME);
내 package.json
{
"name": "slovohvat",
"version": "0.0.2",
"strongAgentKey": "607dbd9b5cd4c6dd20ae05d128b63652",
"scripts": {
"start": "node app.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"express": "3.4.0",
"nunjucks": "0.1.9",
"socket.io": "0.9.16",
"bigint-node": "1.0.1",
"connect": "2.9.0",
"request":"2.27.0",
"node-logentries": "0.0.2",
"redis": "0.8.6",
"socket.io-clusterhub": "0.2.0",
"connect-redis": "1.4.x",
"async": "0.2.9",
"nodetime": ">=0.8.0",
"emailjs ":"0.3.6",
"strong-agent":"0.2.18",
"raygun": "~0.3.0"
},
"repository": "",
"author": "",
"license": "BSD"
}
그리고 내 dotcloud.yaml
www:
type: nodejs
approot: app
process: node app.js 0
config:
node_version: v0.8.x
smtp_server: smtp.XXX.org
smtp_port: 587
smtp_username: [email protected]
smtp_password: XXX
data:
type: redis
strongloop.json는 dotcloud과 동일한 디렉토리에 존재 . yaml하고 올바르게 보인다.
제발, 내가해야 할 충고를 해줘. 감사합니다. 그리고 미안 해요 내 영어 :)