Appsignal.Span.set_namespace

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

set_namespace(span, namespace)

View Source

Specs

set_namespace(t() | nil, String.t()) :: t() | nil

Sets an Appsignal.Span's namespace. The namespace is "http_request" or "background_job' to add the span to the "web" and "background" namespaces respectively. Passing another string creates a custom namespace to store the Appsignal.Span's samples in.

Example

Appsignal.Tracer.root_span()
|> Appsignal.Span.set_namespace("http_request")