spanEventNow static method
Creates a span event with the current timestamp.
This is a convenience method that calls spanEvent with the current time.
Implementation
static SpanEvent spanEventNow(String name, Attributes attributes) {
_getAndCacheOtelFactory();
return spanEvent(name, attributes, DateTime.now());
}