Skip to content

docs(guides): add DI container and C++20 concepts guide (#463)#473

Merged
kcenon merged 1 commit into
mainfrom
docs/issue-463-document-di-container-and-c-20-concepts-usage
Feb 9, 2026
Merged

docs(guides): add DI container and C++20 concepts guide (#463)#473
kcenon merged 1 commit into
mainfrom
docs/issue-463-document-di-container-and-c-20-concepts-usage

Conversation

@kcenon

@kcenon kcenon commented Feb 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add comprehensive guide documenting DI container, metric factory, C++20 concepts, and adaptive monitor
  • Document DI container integration with common_system's IServiceContainer (registration, resolution, lifecycle)
  • Document metric factory with 3 collector adapter types (plugin/CRTP/standalone)
  • Document 13 C++20 concepts for compile-time type validation with usage examples
  • Document adaptive monitor with hysteresis, cooldown, and 3 adaptation strategies
  • Include complete DI + factory setup example and concept-constrained custom types

Closes #463

Test Plan

  • Verify all source files exist and are accurately referenced
    • include/kcenon/monitoring/di/service_registration.h
    • include/kcenon/monitoring/factory/metric_factory.h
    • include/kcenon/monitoring/factory/collector_adapters.h
    • include/kcenon/monitoring/concepts/monitoring_concepts.h
    • include/kcenon/monitoring/adaptive/adaptive_monitor.h
    • src/impl/adaptive_monitor.h
    • include/kcenon/monitoring/adapters/performance_monitor_adapter.h
  • Verify cross-references to other documentation
    • docs/guides/PERFORMANCE_COOKBOOK.md
    • docs/guides/BEST_PRACTICES.md
    • docs/guides/COLLECTOR_DEVELOPMENT.md
    • docs/guides/QUICK_START.md
  • Verify acceptance criteria met:
    • DI container API documented with lifecycle patterns
    • Metric factory configuration documented
    • C++20 concepts listed with usage examples
    • Adaptive monitor behavior documented
    • Complete DI + factory setup example included

Add comprehensive guide covering 4 advanced C++ patterns:
- DI container integration with common_system's IServiceContainer
- Metric factory with collector adapters (plugin/CRTP/standalone)
- C++20 concepts for compile-time type validation (13 concepts)
- Adaptive monitor with hysteresis and cooldown stability controls

Includes complete setup examples, concept-constrained custom types,
and adaptive monitoring pipeline integration.
@kcenon kcenon merged commit fbeb7db into main Feb 9, 2026
21 checks passed
@kcenon kcenon deleted the docs/issue-463-document-di-container-and-c-20-concepts-usage branch February 9, 2026 07:20
kcenon added a commit that referenced this pull request Apr 13, 2026
Add comprehensive guide covering 4 advanced C++ patterns:
- DI container integration with common_system's IServiceContainer
- Metric factory with collector adapters (plugin/CRTP/standalone)
- C++20 concepts for compile-time type validation (13 concepts)
- Adaptive monitor with hysteresis and cooldown stability controls

Includes complete setup examples, concept-constrained custom types,
and adaptive monitoring pipeline integration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task] docs: Document DI container and C++20 concepts usage

1 participant