【问题标题】:Graphdat NodeJS - Connection failed ENOENTGraphdat NodeJS - 连接失败 ENOENT
【发布时间】:2014-04-04 20:36:29
【问题描述】:

我尝试使用 Graphdat NodeJS 模块来监控我的应用,但遇到了问题。

我的服务器在 Amazon EC2 实例 Ubuntu 12.10 x64 中运行。

当我启动我的节点应用程序时,它会打印出来

Graphdat Info: Graphdat (v0.4.6) is enabled
Graphdat Info: Will send to agent on /tmp/gd.agent.sock

但是一旦我在浏览器中加载页面,它就会打印出来

Graphdat Error: gd.agent.sync: connection failed (/tmp/gd.agent.sock):  { [Error: connect ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'connect' }

【问题讨论】:

    标签: node.js performance web-applications amazon-ec2 monitoring


    【解决方案1】:

    找到了。提供的用于安装记录器的脚本未成功安装且未运行。

    curl -s -d '{"token":"api.xxxxxxxx"}' -H 'Content-Type: application/json' https://dashboard.graphdat.com/agent/install | sh
    

    【讨论】:

      猜你喜欢
      • 2012-03-27
      • 1970-01-01
      • 1970-01-01
      • 2021-06-25
      • 2023-03-18
      • 2019-07-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多