APM and drivers

1 view
Skip to first unread message

Patrick ALLAERT

unread,
Apr 6, 2010, 5:35:05 AM4/6/10
to apm-dev
Hi!

APM has been recently internally redesigned to make use of "drivers".
This mean that SQLite implementation has been externalized from the
core of APM as a driver. This enable us to react to events differently
depending on them.
As a result of this redesign, a MySQL driver has been added so that
events can be stored in and fetch from a centralized MySQL database.

Drivers are registered using a linked list which enables chaining so
that you might react to events with more than one driver.

For now, drivers are selected at configure time, a driver which is
compiled is automatically active, to deactivate one you will then need
to recompile APM. This will probably be made configurable in a near
future.

Other drivers will certainly be implemented, we are thinking about:
* SNMP
* Hadoop
* e-mail

Regards,
--
Patrick Allaert
---
http://code.google.com/p/peclapm/ - Alternative PHP Monitor

Paul Dragoonis

unread,
Apr 6, 2010, 5:38:19 AM4/6/10
to apm...@googlegroups.com
What about defining the driver(s) to load in the php.ini file, so that we can change the configuration without having to recompile?

Regards,
-- 
Paul Dragoonis
Software Engineer
drag...@php.net


--
You received this message because you are subscribed to the Google Groups "Alternative PHP Monitor - Dev" group.
To post to this group, send email to apm...@googlegroups.com.
To unsubscribe from this group, send email to apm-dev+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/apm-dev?hl=en.





Reply all
Reply to author
Forward
0 new messages