Custom instrumentationedit

When installed ElasticAPM will automatically wrap your app’s request/responses in transactions and report its errors.

But it is possible to create your own transactions as well as provide spans for any automatic or custom transaction.

See ElasticAPM.transaction and ElasticAPM.span.