[NFR]: Collector source adapters for ADR data sources (DB / View / Route)
@niden ya está trabajando en esto.
Desde el 22/7/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- PHP
- Estrellas
- 6
- Forks
- 3
- Merge medio
- 2 d 14 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de phalcon/debugbar
-
[NFR]: History Panel enhancementsPosiblemente ocupada @niden la tomó hace 18 días. Abiertoenhancement
-
[NFR]: Decouple collectors from framework event names (bridge + canonical signals)Quizá libre de nuevo @niden la tomó hace 84 días y no hay ningún pull request abierto. Abiertoenhancement
-
[NFR]: Framework-neutral integration seam: boot and response injection without Mvc\ApplicationQuizá libre de nuevo @niden la tomó hace 84 días y no hay ningún pull request abierto. Abiertoenhancement
-
[NFR]: Debug bar support for ADR / non-MVC appsQuizá libre de nuevo @niden la tomó hace 84 días y no hay ningún pull request abierto. Abiertoenhancement
-
[NFR]: Services panel for DebugBarQuizá libre de nuevo @niden la tomó hace 93 días y no hay ningún pull request abierto. Abiertoenhancement
Todos los issues de phalcon/debugbar
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
woocommerce/woocommerce-google-analytics-integration#699 ·
Los mantenedores suelen responder en 1 día
-
Sidebar highlights two items when plugin routes share a prefix (/plugin/foo and /plugin/foo-bar)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
getgrav/grav-plugin-admin2#195 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ProfessionalWiki/NeoWiki#1675 ·
Los mantenedores suelen responder en 1 día
-
Incorrect documentationAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100