agentx
agentx is powered by alinode
Last updated a month ago .
· Original npm · Tarball · package.json
$ cnpm install agentx 
SYNC missed versions from official npm registry.

AgentX

AgentX是alinode团队开发的agent命令程序,用于协助alinode的性能数据上报和问题诊断。

  • Build Status
  • Dependencies Status
  • codecov

Installation

$ npm install agentx -g

以上命令会将agentx安装为一个全局的命令行工具。

Usage

agentx需要一个配置文件来进行使用,agentx仅会在配置指定下的目录执行命令或读取日志。

该配置格式如下:

{
  "server": "<SERVER IP>:8080",
  "appid": "<YOUR APPID>",
  "secret": "<YOUR SECRET>",
  "cmddir": "</path/to/your/command/dir>",
  "logdir": "</path/to/your/log/dir>",
  "reconnectDelay": 10,
  "heartbeatInterval": 60,
  "reportInterval": 60,
  "error_log": [
    "</path/to/your/error.log>",
    "您的应用在业务层面产生的异常日志的路径",
    "例如:/root/.logs/error.#YYYY#-#MM#-#DD#-#HH#.log",
    "可选"
  ],
  "packages": [
    "</path/to/your/package.json>",
    "可以输入多个package.json的路径",
    "可选"
  ]
}

配置中的#YYYY#、#MM#、#DD#、#HH#是通配符,如果您的异常日志是按时间生成的,请使用它。

保存为config.json。上述不明确的地方请咨询旺旺群:1406236180。

完成配置后,请使用以下命令进行执行:

$ nohup agentx config.json &

agentx将以常驻进程的方式执行。部署完成后,请访问http://alinode.aliyun.com/dashboard查看您的应用详情。如果一切正常,稍等片刻(1分钟)即可收到你的应用性能数据。

License

The agentx is released under the MIT license.

Current Tags

  • 1.10.8                                ...           latest (a month ago)
  • 1.9.10                                ...           tracing (4 years ago)

63 Versions

  • 1.0.0                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.3                                ...           7 years ago
  • 1.0.4                                ...           7 years ago
  • 1.1.0                                ...           7 years ago
  • 1.2.0                                ...           7 years ago
  • 1.2.1                                ...           7 years ago
  • 1.2.2                                ...           7 years ago
  • 1.2.3                                ...           7 years ago
  • 1.2.4                                ...           7 years ago
  • 1.3.0                                ...           7 years ago
  • 1.3.1                                ...           7 years ago
  • 1.4.0                                ...           7 years ago
  • 1.5.0                                ...           6 years ago
  • 1.5.1                                ...           6 years ago
  • 1.5.2                                ...           6 years ago
  • 1.5.3                                ...           6 years ago
  • 1.5.4                                ...           6 years ago
  • 1.5.5                                ...           6 years ago
  • 1.5.6                                ...           6 years ago
  • 1.5.7                                ...           6 years ago
  • 1.5.8                                ...           6 years ago
  • 1.6.0                                ...           6 years ago
  • 1.7.0                                ...           6 years ago
  • 1.7.1                                ...           6 years ago
  • 1.7.2                                ...           6 years ago
  • 1.7.3                                ...           5 years ago
  • 1.8.0                                ...           5 years ago
  • 1.8.1                                ...           5 years ago
  • 1.8.2                                ...           5 years ago
  • 1.8.4                                ...           5 years ago
  • 1.8.5                                ...           5 years ago
  • 1.8.6                                ...           5 years ago
  • 1.8.7                                ...           5 years ago
  • 1.8.8                                ...           4 years ago
  • 1.8.9                                ...           4 years ago
  • 1.8.10                                ...           4 years ago
  • 1.8.11                                ...           4 years ago
  • 1.9.0                                ...           4 years ago
  • 1.9.1                                ...           4 years ago
  • 1.9.2                                ...           4 years ago
  • 1.9.3                                ...           4 years ago
  • 1.9.4                                ...           4 years ago
  • 1.9.5                                ...           4 years ago
  • 1.9.6                                ...           4 years ago
  • 1.9.7                                ...           4 years ago
  • 1.9.9                                ...           4 years ago
  • 1.9.10                                ...           4 years ago
  • 1.9.11                                ...           4 years ago
  • 1.9.12                                ...           4 years ago
  • 1.9.13                                ...           4 years ago
  • 1.9.14                                ...           4 years ago
  • 1.9.15                                ...           4 years ago
  • 1.9.16                                ...           4 years ago
  • 1.10.1                                ...           4 years ago
  • 1.10.2                                ...           3 years ago
  • 1.10.3                                ...           3 years ago
  • 1.10.4                                ...           3 years ago
  • 1.10.5                                ...           3 years ago
  • 1.10.6                                ...           3 years ago
  • 1.10.7                                ...           3 years ago
  • 1.10.8                                ...           a month ago
Dependencies (5)
Dev Dependencies (8)

Copyright © npmmirror.com | 浙ICP备15033595号-63 |