The name of the operation being traced (e.g., db.query, http.request).
OptionalserviceThe name of the service where the operation is taking place (e.g., user-service, payment-service).
OptionalenvThe name of the environment where the service is running (e.g., dev, prod).
OptionalregionThe name of the region where the service is located (e.g., us-east-1, eu-west-1).
OptionalattrsA record of attributes to associate with the span.
OptionalparentThe parent span to which this span is a child.
This can be a SpanToken, an object with traceId and spanId, or an object with a ctx property containing the trace context.
The options for starting a new span.