Skip to main content

debugger.help VPS Agent — Deep system monitoring for logs, GPU, PM2, Docker, and more

Project description

debugger-help

Deep VPS monitoring agent for debugger.help. Captures PM2, GPU metrics, Docker containers, system health, and streams everything to your dashboard in real time.

Install

python3 -m pip install --upgrade debugger-help

With GPU monitoring:

python3 -m pip install --upgrade debugger-help[gpu]

With everything:

python3 -m pip install --upgrade debugger-help[all]

Quick Start

# 1) Install the Python package
python3 -m pip install --upgrade debugger-help

# 2) Add your project credentials
export DEBUGGER_API_KEY="your-api-key"
export DEBUGGER_INGEST_URL="your-ingest-url"

# 3) Start the agent
debugger-agent

Do not use placeholder commands like git+https://github.com/YOUR_ORG/... — install from PyPI with debugger-help.

Or keep it running with PM2:

pm2 start "debugger-agent" --name debugger-agent
pm2 save

Important naming

  • debugger-help = the Python package you install with pip
  • debugger-agent = the CLI command that package installs
  • pip install debugger-agent will fail because there is no separate package with that name
  • placeholder GitHub commands like git+https://github.com/YOUR_ORG/... are not real install commands

What it captures

  • PM2 process states, restart counts, logs, error logs
  • GPU: VRAM per-process, temperature, power, utilization, clock speeds, throttle reasons, ECC errors
  • CPU: per-core usage, load average, frequency, context switches
  • Memory: RAM, swap, shared, buffers, cached
  • Disk: usage per mount, I/O rates, inode usage
  • Network: per-interface stats, TCP connection states, open ports, DNS resolution
  • Processes: top CPU/memory consumers, zombies, open file descriptors
  • Docker containers: status, CPU, memory, restart counts
  • Systemd: failed units
  • SSL certificates: expiry checks
  • System logs: dmesg, OOM kills, journalctl errors
  • File watchers: syslog, PM2 logs, custom log files

Resource Usage

The agent is designed to be as lightweight as possible:

Resource Typical Usage Notes
RAM ~20–30 MB Pure Python with psutil + requests
CPU <1% Polls every 10s by default, minimal processing
VRAM 0 MB Reads GPU stats via pynvml driver queries — nothing is loaded onto the GPU
Disk ~5 MB installed No local buffering or log storage
Network ~2–5 KB/s Small JSON payloads sent every collection interval

The agent never interferes with your workloads. GPU monitoring uses NVIDIA's management library (pynvml) which queries the driver directly — no CUDA contexts are created, no VRAM is allocated.

Environment Variables

Variable Required Description
DEBUGGER_API_KEY Yes Your debugger.help API key
DEBUGGER_INGEST_URL Yes Your ingest endpoint URL
DEBUGGER_SOURCE No Source name (default: vps-{hostname})
DEBUGGER_INTERVAL No Collection interval in seconds (default: 10)
DEBUGGER_WATCH_LOGS No Comma-separated extra log file paths
DEBUGGER_SSL_DOMAINS No Comma-separated domains for SSL checks

FAQ

Will it slow down my GPU workloads? No. The agent uses zero VRAM and creates no CUDA contexts. It reads metrics through NVIDIA's management API, which is the same interface nvidia-smi uses.

Can I run it alongside my ML training / inference? Yes. It's completely passive — it only reads system stats. Many users run it on the same machines serving Flux, SDXL, and other heavy models without any impact.

What happens if the ingest endpoint is unreachable? The agent silently skips the send and retries on the next interval. No data is buffered to disk, so there's no risk of filling up storage.

Does it need root? No. Standard user permissions are sufficient for most metrics. Some system log files (like /var/log/syslog) may require adding your user to the appropriate group (e.g., adm).

Can I adjust the collection interval? Yes. Set DEBUGGER_INTERVAL to any number of seconds. Lower values give more granularity but slightly increase network usage.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

debugger_help-4.2.1.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

debugger_help-4.2.1-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file debugger_help-4.2.1.tar.gz.

File metadata

  • Download URL: debugger_help-4.2.1.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for debugger_help-4.2.1.tar.gz
Algorithm Hash digest
SHA256 a87ba994e0c596d1b4fc3e529c29c4d1f68a7010deb9e0fbdbfe70d97db0c974
MD5 5e92d8a27e138590c3afabbd948e2369
BLAKE2b-256 eb6c6f6af33ce85a98cd58dfd4c2a4d6c7189ea138aee81b052c44cde774d5fc

See more details on using hashes here.

File details

Details for the file debugger_help-4.2.1-py3-none-any.whl.

File metadata

  • Download URL: debugger_help-4.2.1-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for debugger_help-4.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 908069d518589ea16dfaa62b5dd000bed65490735e0e4395d9c0bc866d2e9b9a
MD5 618fdf55ad273fc6872dbb777a49032e
BLAKE2b-256 faf58ab78ff216558e2187c7b2389c94b7e6b4c17711bba23474bb82b605babb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page