blackfireio / php-sdk

The Blackfire PHP SDK
https://blackfire.io
MIT License
150 stars 22 forks source link

Is it possible to collect all the profiles ? #36

Closed maidmaid closed 4 years ago

maidmaid commented 5 years ago

Could be useful to log all the profiles/costs thanks to a logger for analysing them trough the Time (with an ELK or similar).

$blackfire = new \Blackfire\Client($config, $logger);
romainneutron commented 5 years ago

Hello @maidmaid Not sure to understand your question. What do you mean by "collect all the profiles" ? Are you proposing to profile your request regularly and send the results to a timeseries DB like graphite?

maidmaid commented 5 years ago

Hello @romainneutron.

Are you proposing to profile your request regularly and send the results to a timeseries DB like graphite?

Yes, it's my point.

romainneutron commented 4 years ago

Hello,

Collecting lots of profiles adds an large overhead and does not bring that much value if the data is not used. If you want to collect envelope costs, it's quite easy to do