anchor.diff:  [float]
   [[api-set-custom-context]]
   ==== `elasticapm.set_custom_context()`
  +
  +[small]#Added in v2.0.0.#
   
   Attach custom contextual data to the current transaction and errors.
   Supported frameworks will automatically attach information about the HTTP request and the logged in user.
  
positive.code: [[api-traceparent-get-header]]
  ===== `elasticapm.get_trace_parent_header()`
  
  Return the string representation of the current transaction TraceParent object:
  
  [source,python]
  
negative.code: [[api-traceparent-from-string]]
  ===== `elasticapm.trace_parent_from_string()`
  
  [small]#Added in v5.6.0.#
  
  Create a TraceParent object from the string representation generated by
  `TraceParent.to_string()`:
  
  