NAME
OpenTracing::Implementation::DataDog::SpanContext - Keep track of traces
SYNOPSIS
use aliased OpenTracing::Implementation::DataDog::SpanContext;
my $span_context = SpanContext->new(
service_name => "MyFancyService",
service_type => "web",
resource_name => "/clients/{client_id}/contactdetails",
);
#
# please do not add parameter values in the resource,
# use tags instead, like:
# $span->set_tag( client_id => $request->query_params('client_id') )
CONSTRUCTORS
new
my $span_context = SpanContext->new(
service_name => "MyFancyService",
resource_name => "/clients/{client_id}/contactdetails",
baggage_items => { $key => $value, .. },
);
Creates a new SpanContext object;