Pulse/internal/monitoring
rcourtman dfb5d50f73 feat: Add Proxmox 9.1+ OCI container support
- Backend: Add IsOCI and OSTemplate fields to Container model
- Backend: Add extractContainerOSTemplate() and isOCITemplate() detection functions
- Backend: Detect OCI containers via ostemplate config and set type to 'oci'
- Frontend: Add isOci and osTemplate to Container interface
- Frontend: Add 'oci-container' to ResourceType with distinct purple badge
- Frontend: Update Dashboard filters to include OCI containers with LXC
- Tests: Add comprehensive unit tests for OCI detection logic

OCI containers are detected by checking the ostemplate for patterns like:
- oci: prefix (e.g., oci:docker.io/library/alpine:latest)
- docker: prefix (e.g., docker:nginx:latest)
- Known registry URLs (docker.io, ghcr.io, gcr.io, quay.io, etc.)
- Local templates with oci- or oci_ filename patterns
2025-12-12 17:51:43 +00:00
..
backoff.go
backoff_test.go
backup_guard_test.go
ceph.go
ceph_test.go test: Add tests for monitoring and notifications functions 2025-12-01 17:33:36 +00:00
circuit_breaker.go
circuit_breaker_test.go test: Add tests for allow, ensureContainerRootDiskEntry; remove dead code 2025-12-01 20:15:32 +00:00
container_disk_usage.go
container_disk_usage_test.go test: Add tests for monitoring and notifications functions 2025-12-01 17:33:36 +00:00
container_parsing.go feat: Add Proxmox 9.1+ OCI container support 2025-12-12 17:51:43 +00:00
container_parsing_test.go feat: Add Proxmox 9.1+ OCI container support 2025-12-12 17:51:43 +00:00
diagnostic_snapshots.go
diagnostic_snapshots_test.go test: Add tests for handleProxyHostFailure, recordNodeSnapshot, evaluateHostAgents 2025-12-01 19:40:32 +00:00
docker_commands.go
docker_commands_test.go test: Add tests for GetGuestMetrics, mergeSnapshot, getDockerCommandPayload 2025-12-01 19:58:43 +00:00
docker_host_identity.go refactor: Extract Docker host identifier functions to separate file 2025-12-01 10:03:47 +00:00
docker_host_identity_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
error_classification_test.go Add unit tests for error classification functions in monitoring 2025-12-01 01:37:28 +00:00
fake_executor_integration.go
fs_filters.go
fs_filters_test.go
guest_metadata.go refactor: Extract guest metadata functions to separate file 2025-12-01 10:53:41 +00:00
guest_metadata_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
harness_integration.go
helpers_test.go test: Add tests for sanitizeGuestAddressStrings, parseContainerConfigNetworks, mergeNVMeTempsIntoDisks 2025-12-01 20:34:48 +00:00
host_agent_temps.go feat: AI integration, Docker metrics, RAID display, and infrastructure improvements 2025-12-09 09:29:27 +00:00
integration_integration_test.go
main_test.go
merge_temps_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
metrics.db checkpoint: remove unified resources UI, keep backend model 2025-12-07 22:54:27 +00:00
metrics.go
metrics_helpers_test.go test: Add tests for monitor helper and metrics functions 2025-12-01 21:18:33 +00:00
metrics_history.go
metrics_history_concurrency_test.go
metrics_history_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
metrics_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
monitor.go feat: Add Proxmox 9.1+ OCI container support 2025-12-12 17:51:43 +00:00
monitor_backup_poll_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
monitor_container_test.go
monitor_docker_test.go feat: AI security and policy improvements for 5.0 2025-12-12 17:38:55 +00:00
monitor_health_test.go
monitor_host_agents_test.go feat: AI integration, Docker metrics, RAID display, and infrastructure improvements 2025-12-09 09:29:27 +00:00
monitor_memory_test.go
monitor_pmg_test.go
monitor_polling.go fix(ai-chat): Display messages chronologically in AI chatbot 2025-12-11 23:02:59 +00:00
monitor_polling_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
monitor_proxy_test.go
monitor_snapshots_test.go
monitor_storage_test.go
monitor_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
monitor_timeout_test.go test: Add tests for normalizeEndpointHost, taskExecutionTimeout, decrementPending 2025-12-01 18:42:57 +00:00
pbs_convert_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
poller.go
ratetracker.go
ratetracker_concurrency_test.go
ratetracker_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
reload.go
scheduler.go refactor: Remove unreachable dead code branches 2025-12-02 14:48:57 +00:00
scheduler_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
staleness_tracker.go refactor: Remove unreachable dead code branches 2025-12-02 14:41:53 +00:00
staleness_tracker_test.go test: Add tests for parseContainerMountMetadata, convertContainerDiskInfo, StalenessScore 2025-12-01 20:44:00 +00:00
storage_backup_preserve_test.go test: Add tests for convertDockerSwarmInfo, namespacePathsForDatastore, preserveFailedStorageBackups 2025-12-01 19:04:23 +00:00
storage_filters.go
storage_filters_test.go
task_queue.go
task_queue_test.go test: Add WaitNext and key() tests for TaskQueue 2025-12-02 12:02:13 +00:00
temperature.go perf: Use strconv.Itoa instead of fmt.Sprintf for int conversion 2025-12-02 15:21:41 +00:00
temperature_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00