[NFR]: Add a direct push API to collectors
Maintainer antworten meist innerhalb von 1 Tag
@niden arbeitet bereits daran.
Seit 03.11.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Summary
Most collectors can receive data only through their event listeners. A host that has other data sources, or no events manager, cannot feed them. Add public methods to these collectors. Behavior does not change.
Current state
ExceptionsCollector::addThrowable()already exists and does not change.DatabaseCollector,ViewCollector,RouteCollectorandCacheCollectorwrite their data only insidesubscribe()closures.
Proposed direction
Follow the addThrowable() naming. The existing listeners call the new methods.
DatabaseCollector: a start method and a finish method that takes the SQL and the bindings. The collector measures the time.ViewCollector: a start method that takes the path and a finish method. The pending stack stays, so nested partials are timed correctly.CacheCollector: a method that takes the operation and the key.RouteCollector: a method that takes the panel values, or a callable that returns them. The collector calls the callable at collect time. This keeps the MVC read at collect time, because the MVC router is not fully resolved whenrouter:matchedRoutefires. After #15, the collector needs noPhalcon\Mvcimport.
Acceptance
- Each collector gets data through its new method, with no events manager.
- The existing collector tests pass with the same expected results.
- Tests pass with full coverage.
phpcsandphpstanpass.
Part of
#13
- Vorherrschende Sprache
- PHP
- Sterne
- 6
- Forks
- 3
- Ø Merge
- 3 Std. 31 Min.
- Gemergte PRs (30 T.)
- 43
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus phalcon/debugbar
-
[BUG]: Duplicated JS and CSS for the exceptions and logs panelsEvtl. vergeben @niden hat das vor 1 Tag übernommen. Offenbug
phalcon/debugbar#108 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: The last exception differs between MVC and ADREvtl. vergeben @niden hat das vor 1 Tag übernommen. Offenbug
phalcon/debugbar#107 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: Small fixes for IP match, accessibility and docblocksEvtl. vergeben @niden hat das vor 1 Tag übernommen. Offenbug
phalcon/debugbar#106 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: Member order and function imports do not follow the coding ruleEvtl. vergeben @niden hat das vor 1 Tag übernommen. Offenbug
phalcon/debugbar#105 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: CI does not test a Phalcon 5 only install or the minimum versionEvtl. vergeben @niden hat das vor 1 Tag übernommen. Offenbug
phalcon/debugbar#104 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in phalcon/debugbar
Ähnliche Issues
-
enhancement priority Sales
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
novalo-dev/Prestashop-MCP-Server#201 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
Include flows spanning the full report time windowEvtl. vergeben @somethingwithproof hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
Cacti/plugin_flowview#306 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug origin: upstream priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
mattytap/Mattytap-Sermons#105 ·
-
priority:low type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
crazy-goat/workerman-bundle#1189 ·
Maintainer antworten meist innerhalb von 1 Tag