nipwaayoni / elastic-apm-php-agent

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

Subclassing Agent is prohibitive due to build complexity #54

Closed dstepe closed 4 years ago

dstepe commented 4 years ago

The changes to how the agent is constructed make it challenging to extend the Agent class. The AgentBuilder always creates a new Agent object, so any project needing to extend the Agent is left to handle the construction without the builder.

tsantos84 commented 4 years ago

Fixed on https://github.com/nipwaayoni/elastic-apm-php-agent/pull/59