nipwaayoni / elastic-apm-php-agent

PHP Agent for Elastic APM
Other
28 stars 15 forks source link

Not able to integrate this with Magento #74

Closed ga3003 closed 1 year ago

ga3003 commented 3 years ago

Hi Team,

I am using Magento 2.3.1 which is a PHP framework supporting PSR-0, PSR-3 & PSR-4. But when I have followed the steps mentioned but I am not sure is it achievable or not.

As I am not aware of APM and elastic, can anyone help me or give an Idea, how I can integrate it.

dstepe commented 3 years ago

This package is simply an agent which allows you to collect run time data and push it to the Elastic APM service (https://www.elastic.co/apm). There is no benefit to including this package in your project if you do not have an Elastic APM service to send data to. If you aren't familiar with APM, that's where you should start. If you don't have that, then there is no reason to use this package.

ga3003 commented 3 years ago

Derk, I know what is APM and what is its purpose. It's just I haven't worked in elastic APM and currently, we are using New Relic which is similar to Elastic APM. We are planning to migrate from new-relic to elastic APM so need to integrate it.

Thanks for the suggestion, I will start learning more about elastic apm.

cmtickle commented 1 year ago

@ga3003 I have started on a project to do exactly this. Currently, it adds the standard Magento Profiler results to Elastic APM. It can be built upon and I intend to do so as time allows. The next thing I plan to add is database query timing. It's available at https://github.com/cmtickle/elastic-apm-magento (Disclaimer: experimental, not for production use)

dstepe commented 1 year ago

Closing due to inactivity