gajus / xhprof.io

GUI to analyze the profiling data collected using XHProf – A Hierarchical Profiler for PHP.
http://xhprof.io/
Other
429 stars 103 forks source link

API to request performance metrics #34

Open marzizzle opened 11 years ago

marzizzle commented 11 years ago

Hi,

a HTTP API to request the diverse performance metrics would be very nice. We want to seamlessly integrate the gathered data into our monitoring system.

e.g. Request Wall/CPU/Peak Memory Usage for a Host/URI, return json/xml formatted performance data. If these values exceed defined thresholds an alarm is triggered.

gajus commented 11 years ago

Why not just use the available models? API is not a common request. Building your own API interface and utilising existing data models would be the way to go. Start a branch and give it a go.