OpenTracing::Implementation::DataDog::ScopeManager - Keep track of active scopes
my $span = $TRACER->build_span( ... ); my $scope_manager = $TRACER->get_scope_manager; my $scope = $scope_manager->build_scope( span => $span, finish_span_on_close => true, ); ... $scope->close;
This method will build a new
Scope object, that, when
close is being called (which you should), the current scope is being set back as the active scope.
See OpenTracing::Roles::ScopeManager for the description of the method.
Sending traces to DataDog using Agent.
Role for OpenTracing implementations.
Theo van Hoesel <email@example.com>
'OpenTracing::Implementation::DataDog' is Copyright (C) 2019 .. 2021, Perceptyx Inc
This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.
This package is distributed in the hope that it will be useful, but it is provided "as is" and without any express or implied warranties.
For details, see the full text of the license in the file LICENSE.