docs(core): expand ARCHITECTURE.md with detailed system design#464
Merged
Conversation
Expand the main architecture document from 60 lines to 684 lines covering all major system components based on actual source code analysis. New sections: - System architecture diagram with module dependency graph - Core pipeline architecture (thread_local_buffer → central_collector) - Threading model (TLS buffers, lock-free queue, fine-grained locking) - Plugin architecture (CRTP collector base, hardware/container plugins) - Storage layer (10 backend types with factory pattern) - Adapter & interface layer (cross-system integration, C++20 concepts) - Design decisions with rationale (event bus, TLS buffering, CRTP, Result<T> pattern, plugin system, concepts) Closes #454
7 tasks
Corrected module reference header counts verified against actual codebase: - core/: 7→9, collectors/: 17→18, adapters/: 8→10 - reliability/: 5→7, alert/: 6→7, utils/: 6→10 - C++20 concepts: 12→14 (added missing ObserverLike to table)
kcenon
added a commit
that referenced
this pull request
Apr 13, 2026
* docs(core): expand ARCHITECTURE.md with detailed system design Expand the main architecture document from 60 lines to 684 lines covering all major system components based on actual source code analysis. New sections: - System architecture diagram with module dependency graph - Core pipeline architecture (thread_local_buffer → central_collector) - Threading model (TLS buffers, lock-free queue, fine-grained locking) - Plugin architecture (CRTP collector base, hardware/container plugins) - Storage layer (10 backend types with factory pattern) - Adapter & interface layer (cross-system integration, C++20 concepts) - Design decisions with rationale (event bus, TLS buffering, CRTP, Result<T> pattern, plugin system, concepts) Closes #454 * docs(core): fix header counts and concept count in ARCHITECTURE.md Corrected module reference header counts verified against actual codebase: - core/: 7→9, collectors/: 17→18, adapters/: 8→10 - reliability/: 5→7, alert/: 6→7, utils/: 6→10 - C++20 concepts: 12→14 (added missing ObserverLike to table)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #454
Summary
docs/ARCHITECTURE.mdfrom 60 lines to 686 lines with comprehensive system design documentationSections Added
thread_local_buffer→central_collectorflow, event bus routing, safe event dispatcher, performance monitor orchestration, error handling flowTest Plan
Verification Notes
ObserverLikeconcept to table