Skip to content

OpenHubble Agent v2.19.0 - Data Persistence & Collector Foundation

Latest

Choose a tag to compare

@BlackIQ BlackIQ released this 31 Jul 18:03
51f0e7e

OpenHubble Agent v2.19.0

This release marks one of the largest architectural improvements to OpenHubble Agent since the migration to FastAPI. v2.19.0 modernizes the project's foundation with a new configuration system, persistent local storage, database migrations, improved validation, and the first generation of the new metrics collector architecture.

The result is a more reliable, maintainable, and future-ready agent, designed to support advanced monitoring capabilities while improving developer experience and deployment.

🏗️ Modernized Core Architecture

This release introduces a complete modernization of the agent's internal architecture.

  • Migrated configuration from legacy .ini files to modern .env configuration.
  • Added Pydantic Settings for strongly typed configuration management.
  • Adopted Pydantic models for request and response validation across the API.
  • Introduced SQLAlchemy ORM as the new database layer.
  • Added Alembic for automatic database migrations.
  • Migrated to FastAPI Lifespan for cleaner startup and shutdown handling.
  • Improved overall asynchronous architecture for better scalability and responsiveness.

💾 Persistent Local Storage

The agent now stores its internal data in a SQLite database, allowing information to survive restarts and making future features significantly easier to build.

Benefits include:

  • Persistent local data
  • Better reliability
  • Foundation for historical metrics
  • Easier future expansion

📊 First Generation Collectors

This release introduces the first step toward the new collector framework.

Collectors now gather host metrics through a more modular and extensible architecture, laying the groundwork for future collectors and advanced monitoring capabilities.

⚡ Developer Experience Improvements

Several improvements make development, deployment, and maintenance significantly easier.

  • Migrated project management to uv.
  • Updated installation workflow.
  • Improved install.sh.
  • Added improved update.sh.
  • Added improved uninstall.sh.
  • Improved TOML parsing and configuration handling.
  • Updated systemd service configuration.

🔒 API & Security Improvements

  • Improved API Key middleware reliability.
  • Enhanced IP middleware.
  • Better request validation.
  • Better response validation.
  • Improved API consistency.

📚 Documentation

  • Enhanced Swagger UI.
  • Improved ReDoc documentation.
  • Cleaner OpenAPI documentation.
  • Better developer experience for API exploration.

🚀 Looking Ahead

This release lays the foundation for future monitoring capabilities, including additional collectors, richer historical metrics, and more advanced monitoring features.

As always, thank you to everyone using OpenHubble Agent and helping improve the project.