forza

0.2.3 • Public • Published

forza

The Monitoring Agent.

Build

Pull in third-party submodules

git submodule update --init

./configure options

  • --with-plugin <plugin> - enable plugin <plugin> (see Plugins section)
  • --interposed-dest-cpu - CPU architecture to build libinterposed for. Valid values are: ia32 and x64.
./configure
make

Usage

./forza -h 127.0.0.1 -p 1337 -- node test/fixtures/listen.js

Plugins

uptime

Sends:

{
  "metric": <seconds of process uptime>,
  "service": "health/process/uptime"
}

mem

Sends:

{
  "metric": <used-memory-on-the-machine>,
  "service": "health/machine/memory"
}

logs

Sends:

{
  "metric": 1.0,
  "service": "logs/stdout",
  "description": <log-message>
}

Testing

Tests require all plugins:

./build
npm test

Readme

Keywords

none

Package Sidebar

Install

npm i forza

Weekly Downloads

0

Version

0.2.3

License

none

Last publish

Collaborators

  • jcrugzz
  • indexzero