[NFR]: Collector source adapters for ADR data sources (DB / View / Route)
@niden đang làm issue này rồi.
Từ ngày 22/7/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Summary
Even once collectors are decoupled from event names, three collectors have no data source under ADR, because the ADR stack uses different technologies than MVC. Provide one source adapter per collector, selectable per application, so DB, View, and Route data can be collected in an ADR app (phalcon/vokuro-adr as the reference).
Missing data sources under ADR
- Database - ADR uses
Phalcon\DataMapper\Pdo\Connection, which does not firedb:beforeQuery/db:afterQuery. Needs a DataMapper source (a profiler or a decorating connection) alongside the MVCDb\Adapter(events) source - two adapters feeding onequerysignal. - View - ADR renders
.phtmlthroughPhalcon\Mvc\View\Simplewith no events manager attached, soview:*never fires. Needs a source that instruments the ADR renderer/responder, or attaches an events manager toSimple. - Route - ADR uses
Phalcon\ADR\Router, not the MVC router, sorouter:matchedRoutenever fires. Needs an ADR route source.
Proposed direction
- Define a per-collector source contract, and provide two implementations where relevant (MVC and ADR/DataMapper). The active bridge selects the appropriate source.
- Ship the DataMapper DB source as the first concrete second-adapter - the most valuable, and the clearest example of "two adapters, one collector".
Acceptance
- In an ADR app, the Database, View, and Route collectors show real data.
- The MVC sources are unchanged.
Depends on
- #15
- Ngôn ngữ chính
- PHP
- Star
- 6
- Fork
- 3
- Merge trung bình
- 2 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của phalcon/debugbar
-
[NFR]: History Panel enhancementsCó thể đã có người làm @niden đã nhận 16 ngày trước. Đang mởenhancement
-
[NFR]: Decouple collectors from framework event names (bridge + canonical signals)Có thể làm lại được @niden đã nhận 82 ngày trước và không có pull request nào đang mở. Đang mởenhancement
-
[NFR]: Framework-neutral integration seam: boot and response injection without Mvc\ApplicationCó thể làm lại được @niden đã nhận 82 ngày trước và không có pull request nào đang mở. Đang mởenhancement
-
[NFR]: Debug bar support for ADR / non-MVC appsCó thể làm lại được @niden đã nhận 82 ngày trước và không có pull request nào đang mở. Đang mởenhancement
-
[NFR]: Services panel for DebugBarCó thể làm lại được @niden đã nhận 92 ngày trước và không có pull request nào đang mở. Đang mởenhancement
Tất cả issue của phalcon/debugbar
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
WordPress/hosting-handbook#506 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Installing a plugin with composer_packages installs dev dependencies and breaks the autoloader (Error 500)Có thể đã có người làm @Boy132 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
nginx: static-file locations drop the security headers, and the dotfile deny is matched after themĐang mởbug Low Security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
backdrop-contrib/commerce#60 ·