CanbiZ (MickLesk) dc47c1c1c3 Unify telemetry storage and add repo filtering
Refactor telemetry backend to store all telemetry in a single collection and add repo_source-based filtering.

Key changes:
- Added detect_repo_source() in misc/api.func to auto-detect/export REPO_SOURCE (ProxmoxVE/ProxmoxVED/external) when scripts are sourced.
- Consolidated PocketBase collections into a single default collection (_telemetry_data) across service, migration, and scripts; updated defaults in migrate.go, migration.go, migrate.sh and migration shell scripts.
- Simplified PBClient to use one targetColl and removed collection resolution logic; updated create/update/find/fetch functions to use targetColl.
- Introduced repo_source field (values: "ProxmoxVE", "ProxmoxVED", "external") on telemetry records and telemetry payloads; updated validation and logging.
- Added repo filtering to dashboard endpoints, FetchDashboardData and FetchRecordsPaginated, plus a repo selector in the dashboard UI; default filter is ProxmoxVE (production), with an "all" option.
- Adjusted API handlers and callers to pass repo filters and include repo_source when upserting telemetry.
- Misc: updated comments, error messages, and logging to reflect the new model; added telemetry-service.exe binary.

Purpose: simplify data model (single collection), make telemetry attributable to repository sources, and enable dashboard filtering by repo/source.
2026-02-11 15:49:41 +01:00
2026-02-11 10:52:29 +01:00
2026-02-11 10:59:55 +01:00
2026-01-06 12:41:07 +01:00
2025-12-08 09:17:21 +01:00
2025-07-14 15:04:29 +00:00
2025-04-28 09:29:12 +02:00
2025-03-03 10:10:57 +01:00
2025-05-13 16:00:21 +02:00
2025-03-03 10:10:57 +01:00

🚧 ProxmoxVED Helper-Scripts (Development Repository)

Warning: This repository is under active development and is not intended for production use. Changes may occur at any time!


🔧 What is this?

This repository contains a collection of scripts for managing and automating Proxmox Virtual Environment (Proxmox VE). Originally created by tteck, the project is now community-driven and continues to evolve.


🚀 Development Status

  • ⚠️ Unstable: Features may be incomplete or subject to change.
  • 📢 Community-driven: Contributions and feedback are welcome.
  • 🔄 Frequent updates: Active development means rapid iterations and fixes.

💬 Get Involved

Join the discussion, contribute code, or report issues:

📜 License

This project is licensed under the MIT License.



Proxmox® is a registered trademark of Proxmox Server Solutions GmbH.

Description
No description provided
Readme MIT 45 MiB
Languages
Shell 82.6%
Go 8.7%
TypeScript 8.5%