anchor.diff:  [[api-async-capture-span]]
   ==== `elasticapm.async_capture_span`
   
  +[small]#Added in v5.4.0.#
  +
   Capture a custom async-aware span.
   This can be used either as a function decorator or as a context manager (in an `async with` statement).
   When used as a decorator, the name of the span will be set to the name of the function.
  
positive.code: [float]
  [[api-elasticapm-instrument]]
  ==== `elasticapm.instrument()`
  
  Instruments libraries automatically.
  This includes a wide range of standard library and 3rd party modules.
  
negative.code: [[api-get-transaction-id]]
  ==== `elasticapm.get_transaction_id()`
  
  [small]#Added in v5.2.0.#
  
  Get the id of the current transaction. Example:
  
  [source,python]
  