henrygd
0526c88ce0
support blacklisting and wildcard matching in SENSORS env var ( #650 )
...
- Moved sensor related code to sensors.go
- Added SensorConfig struct
- Added newSensorConfig
- Added tests
2025-04-17 21:08:05 -04:00
henrygd
d79111fce4
remove nvidia-smi dependency for jetson / tegrastats ( #286 )
2025-04-07 20:02:14 -04:00
henrygd
410d236f89
fix EXTRA_FILESYSTEMS for windows ( #422 )
...
Co-authored-by: coosir <git@coosir.com >
2025-04-05 17:57:34 -04:00
henrygd
968ca70670
agent temperature fixes ( #648 , #663 )
...
- Fixes a bad sensor returning an error instead of other good sensors
- Adds ability to set GPU as PRIMARY_SENSOR
2025-03-15 00:29:41 -04:00
henrygd
5837b4f25c
Refactor hub initialization and error handling
2025-03-15 00:25:42 -04:00
henrygd
c38d04b34b
Add health command for hub and align agent health command
2025-03-15 00:23:12 -04:00
henrygd
edefc6f53e
add health check for agent
...
- Updated command-line flag parsing.
- Moved GetAddress and GetNetwork to server.go
2025-03-14 03:33:25 -04:00
henrygd
521be05bc1
gpu.go refactoring and jetson fixes
...
- Fixed usage and power values
- Added new test cases
- Moved some variables to constants
2025-03-13 21:32:53 -04:00
henrygd
ae22334645
pass hub version through html and update dependencies
...
- Changed Vite configuration to replace version during development.
2025-03-13 02:15:03 -04:00
henrygd
f397ab0797
fix: improve error logging for temperature sensor retrieval
2025-03-06 05:38:49 -05:00
henrygd
b1fc715ec9
fix: prevent 404 on initial startup by moving h.initialize after hooks
...
- I don't know why this works. Need to look further into it tomorrow :)
2025-03-06 05:38:33 -05:00
henrygd
d25c7c58c1
fix: SYS_SENSORS context error ( #643 )
2025-03-06 05:36:20 -05:00
henrygd
dd21c18939
feat: add SHARE_ALL_SYSTEMS env var
2025-03-06 01:28:36 -05:00
henrygd
6767392ea8
refactor: update some types in docker.go
2025-03-05 23:40:23 -05:00
henrygd
25b73bfb85
fix: make sure system alerts are checked after records are committed
2025-03-05 23:39:01 -05:00
henrygd
0443a85015
fix: correct typo in Docker stats collection variable name
2025-03-04 17:39:49 -05:00
henrygd
c4d8deb986
feat: agent data cache to support connections to multiple hubs ( #341 )
2025-03-04 16:25:45 -05:00
henrygd
681286eb4f
fix: add User-Agent to resolve Docker Desktop bug ( #513 , #603 )
...
- also added body closure I forgot earlier whoops
2025-03-04 01:56:22 -05:00
henrygd
31431fd211
refactor: improve GPU data parsing
...
- Use byte-based regex matching instead of string-based matching
- Increase buffer size for GPU data
- Switch to `bufio.Scanner`
2025-03-04 00:15:10 -05:00
henrygd
9e56f4611f
refactor: restructure hub initialization and startup process
...
- Separated hub initialization logic into distinct methods
- Move command specific things to cmd/hub
- Add compatibility with new systems package
2025-03-03 23:54:25 -05:00
henrygd
a1f6eeb9eb
refactor: alerts package compatiblity with new systems package
2025-03-03 23:52:27 -05:00
henrygd
f8a1d9fc5d
refactor: optimize system updates and create systems package
...
- Created SystemManager to handle system lifecycle and events
- Created tests for system management operations
- Added test helpers for creating and managing test systems
- Introduced optional port configuration in system config
2025-03-03 23:50:19 -05:00
henrygd
d81db6e319
refactor: optimize record management and deletion logic
2025-03-03 23:44:50 -05:00
henrygd
2b73d8845a
feat: allow x min downtime before alerting ( #595 , #625 )
...
- splits alerts package into three files. status alerts were not
modified aside from updating to slices.Delete method
2025-02-27 17:12:25 -05:00
henrygd
c22b57ce67
refactor(dev): use ENV var to enable hub dev mode
2025-02-26 18:42:34 -05:00
henrygd
ba7db28e80
test(gpu): add case for AMD multi-GPU and different power property ( #414 )
2025-02-22 12:45:47 -05:00
henrygd
6b41a98338
gpu: add tests and refactor to support amd on windows
2025-02-21 00:56:40 -05:00
henrygd
baf56fe83b
fix: refresh interfaces if agent starts before network online ( #466 )
2025-02-21 00:21:47 -05:00
henrygd
96f9128d1a
agent: add lock for gatherStats
2025-02-21 00:20:41 -05:00
henrygd
25b70af196
feat: add unix socket support for system connections
2025-02-19 20:29:45 -05:00
henrygd
7485f79071
refactor(agent): refactor option parsing logic for agent command
2025-02-19 19:39:24 -05:00
henrygd
d170e7a00d
feat(agent): NETWORK env var and support for multiple keys
...
- merges agent.Run with agent.NewAgent
- separates StartServer method
- bumps go version to 1.24
- add tests
2025-02-19 00:32:27 -05:00
henrygd
2ab2cc83de
refactor(hub): embed pocketbase fields in hub struct
2025-02-11 19:18:36 -05:00
henrygd
3376a97bea
refactor(hub): replace sync.map with app.store
2025-02-11 19:18:28 -05:00
henrygd
5ea6eb08a1
feat: PRIMARY_SENSOR env var to choose dashboard temp
2025-02-11 15:11:46 -05:00
henrygd
6b2a9463ca
feat: edit system dialog in dashboard
2025-02-11 14:12:25 -05:00
henrygd
a94cfff965
fix: web ui should only respond to get requests
2025-02-11 11:04:19 -05:00
henrygd
3afab00937
feat: display peak GPU usage in dashboard
2025-02-08 19:24:38 -05:00
henrygd
e6054058b9
feat: add temperatures to dashboard
...
- Refactor temperature related code and move to standalone function
2025-02-07 21:27:15 -05:00
Henry Dollman
58085bf300
feature: support serving from subpath ( #33 )
...
Co-authored-by: Karthik T <karthikt.holmes+github@gmail.com >
2025-02-04 21:22:40 -05:00
Henry Dollman
ff5eb07716
users: remove unused username field and require email ( #24 )
2025-02-03 18:29:02 -05:00
Henry Dollman
83668e5727
fix(gpu): handle power for dedicated amd gpus ( #414 )
2025-01-30 20:28:31 -05:00
Henry Dollman
120aff0d18
config: prefix environment variables with BESZEL_AGENT_ ( #502 )
2025-01-29 20:13:07 -05:00
Henry Dollman
7170b24160
config: prefix environment variables with BESZEL_HUB_ ( #502 )
2025-01-29 19:25:12 -05:00
hank
76347f25e5
fix(gpu): prevent nvidia-smi from running on tegra devices
2025-01-24 23:12:39 -05:00
hank
c157f38957
gpu: Add closure for Jetson and improve compatibility
2025-01-24 22:07:37 -05:00
Links
d185dfdef8
get Jetson GPU Information
2025-01-24 19:17:33 -05:00
Henry Dollman
1ac165d7d3
include stats in error log when encoding stats fails
2025-01-05 17:58:38 -05:00
Henry Dollman
8e531e6b3c
fix: handle duplicate GPU names ( #361 )
2025-01-05 16:40:22 -05:00
Chuangbo Li
0c9bc47a3a
refactor: simplify startSystemUpdateTicker using time.Tick ( #347 )
...
According to the Go 1.23 documentation, the garbage collector can now recover unreferenced tickers created with time.Tick, making time.NewTicker method unnecessary in most cases.
Reference:
* time.Tick: https://pkg.go.dev/time#Tick
2024-12-28 17:07:32 -05:00