manual instrumentation
.
tracer
object from the opentelemetry.trace
module. The tracer
object is a factory for creating spans.
my_application.my_attribute
, example: my_service.user_id
.
Read more here
To record attributes, use the set_attribute
method on the span object.