forza

A lightweight agent for Godot

npm install forza
18 downloads in the last week
38 downloads in the last month

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
npm loves you