NAME
NewFangle::Segment - NewRelic application class
VERSION
version 0.01
SYNOPSIS
use NewFangle;
my $app = NewFangle::App->new;
my $txn = $app->start_web_transaction("txn_name");
my $seg = $txn->start_segment("seg_name");
DESCRIPTION
NewRelic transaction class
METHODS
transaction
my $txn = $seg->transaction
Returns the transaction for this segment.
end
my $bool = $seg->end;
Ends the segment.
(csdk: newrelic_end_segment)
set_parent
my $bool = $seg->set_parent($seg2);
(csdk: newrelic_set_segment_parent)
set_parent_root
my $bool = $seg->set_parent_root;
(csdk: newrelic_set_segment_parent_root)
set_timing
my $bool = $seg->set_timing($start_time, $duration);
(csdk: newrelic_set_segment_timing)
SEE ALSO
AUTHOR
Graham Ollis <plicease@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2020 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.