Appsignal.Span.set_namespace
You're seeing just the function
set_namespace
, go back to Appsignal.Span module for more information.
Specs
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")