debugger-help 3.0.0__tar.gz → 4.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {debugger_help-3.0.0 → debugger_help-4.0.0}/PKG-INFO +51 -5
- debugger_help-4.0.0/README.md +109 -0
- {debugger_help-3.0.0 → debugger_help-4.0.0}/debugger_help/__init__.py +1 -1
- {debugger_help-3.0.0 → debugger_help-4.0.0}/debugger_help/agent.py +371 -233
- {debugger_help-3.0.0 → debugger_help-4.0.0}/debugger_help.egg-info/PKG-INFO +51 -5
- {debugger_help-3.0.0 → debugger_help-4.0.0}/pyproject.toml +2 -2
- debugger_help-3.0.0/README.md +0 -63
- {debugger_help-3.0.0 → debugger_help-4.0.0}/debugger_help.egg-info/SOURCES.txt +0 -0
- {debugger_help-3.0.0 → debugger_help-4.0.0}/debugger_help.egg-info/dependency_links.txt +0 -0
- {debugger_help-3.0.0 → debugger_help-4.0.0}/debugger_help.egg-info/entry_points.txt +0 -0
- {debugger_help-3.0.0 → debugger_help-4.0.0}/debugger_help.egg-info/requires.txt +0 -0
- {debugger_help-3.0.0 → debugger_help-4.0.0}/debugger_help.egg-info/top_level.txt +0 -0
- {debugger_help-3.0.0 → debugger_help-4.0.0}/setup.cfg +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: debugger-help
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.0.0
|
|
4
4
|
Summary: debugger.help VPS Agent — Deep system monitoring for logs, GPU, PM2, Docker, and more
|
|
5
5
|
Author: debugger.help
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://debugger.help
|
|
8
|
-
Project-URL: Repository, https://github.com/
|
|
8
|
+
Project-URL: Repository, https://github.com/YourStudioPro/debuggerhelp
|
|
9
9
|
Keywords: debugger,monitoring,logging,gpu,vps,observability
|
|
10
10
|
Classifier: Development Status :: 4 - Beta
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
@@ -31,33 +31,48 @@ Deep VPS monitoring agent for [debugger.help](https://debugger.help). Captures P
|
|
|
31
31
|
## Install
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
pip install debugger-help
|
|
34
|
+
python3 -m pip install --upgrade debugger-help
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
With GPU monitoring:
|
|
38
38
|
```bash
|
|
39
|
-
pip install debugger-help[gpu]
|
|
39
|
+
python3 -m pip install --upgrade debugger-help[gpu]
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
With everything:
|
|
43
43
|
```bash
|
|
44
|
-
pip install debugger-help[all]
|
|
44
|
+
python3 -m pip install --upgrade debugger-help[all]
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Quick Start
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
+
# 1) Install the Python package
|
|
51
|
+
python3 -m pip install --upgrade debugger-help
|
|
52
|
+
|
|
53
|
+
# 2) Add your project credentials
|
|
50
54
|
export DEBUGGER_API_KEY="your-api-key"
|
|
51
55
|
export DEBUGGER_INGEST_URL="your-ingest-url"
|
|
56
|
+
|
|
57
|
+
# 3) Start the agent
|
|
52
58
|
debugger-agent
|
|
53
59
|
```
|
|
54
60
|
|
|
61
|
+
Do **not** use placeholder commands like `git+https://github.com/YOUR_ORG/...` — install from PyPI with `debugger-help`.
|
|
62
|
+
|
|
55
63
|
Or keep it running with PM2:
|
|
56
64
|
```bash
|
|
57
65
|
pm2 start "debugger-agent" --name debugger-agent
|
|
58
66
|
pm2 save
|
|
59
67
|
```
|
|
60
68
|
|
|
69
|
+
## Important naming
|
|
70
|
+
|
|
71
|
+
- `debugger-help` = the Python package you install with pip
|
|
72
|
+
- `debugger-agent` = the CLI command that package installs
|
|
73
|
+
- `pip install debugger-agent` will fail because there is no separate package with that name
|
|
74
|
+
- placeholder GitHub commands like `git+https://github.com/YOUR_ORG/...` are not real install commands
|
|
75
|
+
|
|
61
76
|
## What it captures
|
|
62
77
|
|
|
63
78
|
- PM2 process states, restart counts, logs, error logs
|
|
@@ -73,6 +88,20 @@ pm2 save
|
|
|
73
88
|
- System logs: dmesg, OOM kills, journalctl errors
|
|
74
89
|
- File watchers: syslog, PM2 logs, custom log files
|
|
75
90
|
|
|
91
|
+
## Resource Usage
|
|
92
|
+
|
|
93
|
+
The agent is designed to be as lightweight as possible:
|
|
94
|
+
|
|
95
|
+
| Resource | Typical Usage | Notes |
|
|
96
|
+
|----------|--------------|-------|
|
|
97
|
+
| **RAM** | ~20–30 MB | Pure Python with `psutil` + `requests` |
|
|
98
|
+
| **CPU** | <1% | Polls every 10s by default, minimal processing |
|
|
99
|
+
| **VRAM** | 0 MB | Reads GPU stats via `pynvml` driver queries — nothing is loaded onto the GPU |
|
|
100
|
+
| **Disk** | ~5 MB installed | No local buffering or log storage |
|
|
101
|
+
| **Network** | ~2–5 KB/s | Small JSON payloads sent every collection interval |
|
|
102
|
+
|
|
103
|
+
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.
|
|
104
|
+
|
|
76
105
|
## Environment Variables
|
|
77
106
|
|
|
78
107
|
| Variable | Required | Description |
|
|
@@ -84,6 +113,23 @@ pm2 save
|
|
|
84
113
|
| `DEBUGGER_WATCH_LOGS` | No | Comma-separated extra log file paths |
|
|
85
114
|
| `DEBUGGER_SSL_DOMAINS` | No | Comma-separated domains for SSL checks |
|
|
86
115
|
|
|
116
|
+
## FAQ
|
|
117
|
+
|
|
118
|
+
**Will it slow down my GPU workloads?**
|
|
119
|
+
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.
|
|
120
|
+
|
|
121
|
+
**Can I run it alongside my ML training / inference?**
|
|
122
|
+
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.
|
|
123
|
+
|
|
124
|
+
**What happens if the ingest endpoint is unreachable?**
|
|
125
|
+
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.
|
|
126
|
+
|
|
127
|
+
**Does it need root?**
|
|
128
|
+
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`).
|
|
129
|
+
|
|
130
|
+
**Can I adjust the collection interval?**
|
|
131
|
+
Yes. Set `DEBUGGER_INTERVAL` to any number of seconds. Lower values give more granularity but slightly increase network usage.
|
|
132
|
+
|
|
87
133
|
## License
|
|
88
134
|
|
|
89
135
|
MIT
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# debugger-help
|
|
2
|
+
|
|
3
|
+
Deep VPS monitoring agent for [debugger.help](https://debugger.help). Captures PM2, GPU metrics, Docker containers, system health, and streams everything to your dashboard in real time.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
python3 -m pip install --upgrade debugger-help
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
With GPU monitoring:
|
|
12
|
+
```bash
|
|
13
|
+
python3 -m pip install --upgrade debugger-help[gpu]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
With everything:
|
|
17
|
+
```bash
|
|
18
|
+
python3 -m pip install --upgrade debugger-help[all]
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Quick Start
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# 1) Install the Python package
|
|
25
|
+
python3 -m pip install --upgrade debugger-help
|
|
26
|
+
|
|
27
|
+
# 2) Add your project credentials
|
|
28
|
+
export DEBUGGER_API_KEY="your-api-key"
|
|
29
|
+
export DEBUGGER_INGEST_URL="your-ingest-url"
|
|
30
|
+
|
|
31
|
+
# 3) Start the agent
|
|
32
|
+
debugger-agent
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Do **not** use placeholder commands like `git+https://github.com/YOUR_ORG/...` — install from PyPI with `debugger-help`.
|
|
36
|
+
|
|
37
|
+
Or keep it running with PM2:
|
|
38
|
+
```bash
|
|
39
|
+
pm2 start "debugger-agent" --name debugger-agent
|
|
40
|
+
pm2 save
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Important naming
|
|
44
|
+
|
|
45
|
+
- `debugger-help` = the Python package you install with pip
|
|
46
|
+
- `debugger-agent` = the CLI command that package installs
|
|
47
|
+
- `pip install debugger-agent` will fail because there is no separate package with that name
|
|
48
|
+
- placeholder GitHub commands like `git+https://github.com/YOUR_ORG/...` are not real install commands
|
|
49
|
+
|
|
50
|
+
## What it captures
|
|
51
|
+
|
|
52
|
+
- PM2 process states, restart counts, logs, error logs
|
|
53
|
+
- GPU: VRAM per-process, temperature, power, utilization, clock speeds, throttle reasons, ECC errors
|
|
54
|
+
- CPU: per-core usage, load average, frequency, context switches
|
|
55
|
+
- Memory: RAM, swap, shared, buffers, cached
|
|
56
|
+
- Disk: usage per mount, I/O rates, inode usage
|
|
57
|
+
- Network: per-interface stats, TCP connection states, open ports, DNS resolution
|
|
58
|
+
- Processes: top CPU/memory consumers, zombies, open file descriptors
|
|
59
|
+
- Docker containers: status, CPU, memory, restart counts
|
|
60
|
+
- Systemd: failed units
|
|
61
|
+
- SSL certificates: expiry checks
|
|
62
|
+
- System logs: dmesg, OOM kills, journalctl errors
|
|
63
|
+
- File watchers: syslog, PM2 logs, custom log files
|
|
64
|
+
|
|
65
|
+
## Resource Usage
|
|
66
|
+
|
|
67
|
+
The agent is designed to be as lightweight as possible:
|
|
68
|
+
|
|
69
|
+
| Resource | Typical Usage | Notes |
|
|
70
|
+
|----------|--------------|-------|
|
|
71
|
+
| **RAM** | ~20–30 MB | Pure Python with `psutil` + `requests` |
|
|
72
|
+
| **CPU** | <1% | Polls every 10s by default, minimal processing |
|
|
73
|
+
| **VRAM** | 0 MB | Reads GPU stats via `pynvml` driver queries — nothing is loaded onto the GPU |
|
|
74
|
+
| **Disk** | ~5 MB installed | No local buffering or log storage |
|
|
75
|
+
| **Network** | ~2–5 KB/s | Small JSON payloads sent every collection interval |
|
|
76
|
+
|
|
77
|
+
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.
|
|
78
|
+
|
|
79
|
+
## Environment Variables
|
|
80
|
+
|
|
81
|
+
| Variable | Required | Description |
|
|
82
|
+
|----------|----------|-------------|
|
|
83
|
+
| `DEBUGGER_API_KEY` | Yes | Your debugger.help API key |
|
|
84
|
+
| `DEBUGGER_INGEST_URL` | Yes | Your ingest endpoint URL |
|
|
85
|
+
| `DEBUGGER_SOURCE` | No | Source name (default: `vps-{hostname}`) |
|
|
86
|
+
| `DEBUGGER_INTERVAL` | No | Collection interval in seconds (default: `10`) |
|
|
87
|
+
| `DEBUGGER_WATCH_LOGS` | No | Comma-separated extra log file paths |
|
|
88
|
+
| `DEBUGGER_SSL_DOMAINS` | No | Comma-separated domains for SSL checks |
|
|
89
|
+
|
|
90
|
+
## FAQ
|
|
91
|
+
|
|
92
|
+
**Will it slow down my GPU workloads?**
|
|
93
|
+
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.
|
|
94
|
+
|
|
95
|
+
**Can I run it alongside my ML training / inference?**
|
|
96
|
+
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.
|
|
97
|
+
|
|
98
|
+
**What happens if the ingest endpoint is unreachable?**
|
|
99
|
+
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.
|
|
100
|
+
|
|
101
|
+
**Does it need root?**
|
|
102
|
+
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`).
|
|
103
|
+
|
|
104
|
+
**Can I adjust the collection interval?**
|
|
105
|
+
Yes. Set `DEBUGGER_INTERVAL` to any number of seconds. Lower values give more granularity but slightly increase network usage.
|
|
106
|
+
|
|
107
|
+
## License
|
|
108
|
+
|
|
109
|
+
MIT
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""debugger.help VPS Agent — Deep system monitoring."""
|
|
2
|
-
__version__ = "
|
|
2
|
+
__version__ = "4.0.0"
|