Appsignal.Span.create_root

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

create_root(namespace, pid)

View Source

Specs

create_root(String.t(), pid()) :: t() | nil

Create a root Appsignal.Span with a namespace and a pid.

For a description of namespaces, see set_namespace/2.

Example

Appsignal.Span.create_root("http_request", self())
Link to this function

create_root(namespace, pid, start_time)

View Source

Specs

create_root(String.t(), pid(), integer()) :: t() | nil

Create a root Appsignal.Span with a namespace, a pid and an explicit start time.

For a description of namespaces, see set_namespace/2.

Example

Appsignal.Span.create_root("http_request", self(), :os.system_time())