Re: Proposal for APM - Alternative PHP Monitor - Extension
| From: | Hans-Peter Oeri | Date: | Wed, 16 Dec 2009 09:14:52 +0000 |
| Subject: | Re: Proposal for APM - Alternative PHP Monitor - Extension | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6920@lists.php.net to get a copy of this message | ||
Hi!
Davide Mendolia wrote:
> My name is Davide Mendolia and with Patrick Allaert we are lead developers
> of the extension APM(Alternative PHP Monitor).
Congratulations! I'm sure a lot of non-profit sites - that cannot afford
Zend's "full-service" monitor - can use APM.
> The goal is to provide more solution to manage PHP errors. It collects error
> events and store them in a local SQLite database.
> But In the future we want to provide different backend and trigger like SNMP
> or MySQL.
Upon a first glimpse on the source, may I suggest two points:
As I see, currently only a html table is returned - data access from php
itself is not possible (short of connecting the database itself).
Wouldn't it integrate better if APM returned the data in some standard
form, whereas the php file does the rendering? That way, a) I could
individually interpret the data in PHP and b) independency from storage
is still possible.
Second, I see, you include the backtrace in the logged data. But the
error condition may lie somewhere else in the environment (esp. Request
information for webservers, Session information). It would be nice to be
able to (optionally?) log those. Of course, such data cannot be "simply"
printed in a table - but a more complex php gui could cater to that as well.
Regards
Hans-Peter