Pulse/internal/monitoring
rcourtman c2233fb3f8 Add unit tests for temperature utility functions
Add focused unit tests for four utility functions in temperature.go:
- extractTempInput: 16 test cases for sensor value extraction
- extractCoreNumber: 18 test cases for core number parsing
- extractHostname: 21 test cases for URL hostname extraction
- normalizeSMARTEntries: 15 test cases for SMART data normalization

70 test cases total covering type conversions, edge cases,
boundary conditions, and error handling paths.
2025-11-30 04:20:28 +00:00
..
backoff.go
backoff_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
backup_guard_test.go
ceph.go
ceph_test.go ADA: Add unit tests for Ceph helper functions 2025-11-29 19:49:43 +00:00
circuit_breaker.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
circuit_breaker_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
container_disk_usage.go Skip inactive storages during content scans 2025-11-18 09:46:48 +00:00
diagnostic_snapshots.go
docker_commands.go
docker_commands_test.go
fake_executor_integration.go
fs_filters.go Filter read-only filesystems from host agent disk metrics (related to #690) 2025-11-12 09:47:02 +00:00
fs_filters_test.go
harness_integration.go
helpers_test.go refactor: use builtin max() and fix unused parameter 2025-11-27 10:08:37 +00:00
integration_integration_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
main_test.go
metrics.go style: fix staticcheck style warnings 2025-11-27 09:19:33 +00:00
metrics_helpers_test.go Add unit tests for metrics.go helper functions 2025-11-29 16:44:37 +00:00
metrics_history.go
metrics_history_concurrency_test.go chore: fix staticcheck SA warnings 2025-11-27 09:16:53 +00:00
monitor.go Extract filesystem filtering logic into pkg/fsfilters 2025-11-29 16:38:08 +00:00
monitor_container_test.go feat: surface LXC mountpoints in UI (related to #715) 2025-11-18 22:57:20 +00:00
monitor_docker_test.go Ensure agent ID collisions respect token boundaries (Related to #658) 2025-11-12 22:46:56 +00:00
monitor_health_test.go
monitor_host_agents_test.go Improve token collision handling and installer subnet support 2025-11-20 09:45:36 +00:00
monitor_memory_test.go
monitor_pmg_test.go
monitor_polling.go refactor: remove unnecessary type conversions 2025-11-27 10:33:35 +00:00
monitor_polling_test.go Honor configured PVE polling interval in scheduler 2025-11-20 22:00:56 +00:00
monitor_proxy_test.go Improve temperature proxy detection 2025-11-18 14:25:09 +00:00
monitor_snapshots_test.go Skip inactive storages during content scans 2025-11-18 09:46:48 +00:00
monitor_storage_test.go
monitor_timeout_test.go monitoring: add poll watchdog to prevent worker leaks (refs #696) 2025-11-14 11:24:59 +00:00
poller.go chore: remove dead code and unused files 2025-11-27 00:05:04 +00:00
ratetracker.go
ratetracker_concurrency_test.go
reload.go feat: make PVE polling interval configurable (related to #467) 2025-11-18 21:30:04 +00:00
scheduler.go refactor: use builtin max() and fix unused parameter 2025-11-27 10:08:37 +00:00
staleness_tracker.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
staleness_tracker_test.go
storage_backup_preserve_test.go Preserve storage backups after partial failures (Related to #704) 2025-11-12 21:10:18 +00:00
storage_filters.go Improve installer temperature proxy and backup polling 2025-11-18 18:42:33 +00:00
storage_filters_test.go Improve installer temperature proxy and backup polling 2025-11-18 18:42:33 +00:00
task_queue.go
task_queue_test.go Add unit tests for TaskQueue Upsert and Remove methods 2025-11-29 21:38:33 +00:00
temperature.go chore: remove more dead code 2025-11-27 00:10:55 +00:00
temperature_test.go Add unit tests for temperature utility functions 2025-11-30 04:20:28 +00:00