<p>On a nice May day, we spent a whole day going through Elastic APM Go Agent code, to try to figure out why it doesn’t log Spans, and all Transactions of a certain kind are just always not sampled.
Once again, because wrote our own Elastic APM PHP Agent, we got bit in the behind and spent a better part of the day WTF-ing through all the code, just to switch ONE BIT in the end, to solve the issue.</p>
<p>One of my projects the last few months was getting our own PHP framework to send
data to Elastic APM for performance logging and debugging. We decide on Elastic
APM since we already started using it for our Golang services and wanted a more
complete picture.</p>