Appsignal.Span.close

You're seeing just the function close, go back to Appsignal.Span module for more information.

Specs

close(t() | nil) :: t() | nil

Close an Appsignal.Span.

Example

Appsignal.Tracer.root_span()
|> Span.close()

Specs

close(t() | nil, integer()) :: t() | nil

Close an Appsignal.Span with an explicit end time.

Example

Appsignal.Tracer.root_span()
|> Span.close(span, :os.system_time())