NewFangle::Segment - NewRelic segment class
version 0.09
use NewFangle; my $app = NewFangle::App->new; my $txn = $app->start_web_transaction("txn_name"); my $seg = $txn->start_segment("seg_name");
NewRelic segment class
my $txn = $seg->transaction
Returns the transaction for this segment.
my $bool = $seg->end;
Ends the segment.
(csdk: newrelic_end_segment)
my $bool = $seg->set_parent($seg2);
(csdk: newrelic_set_segment_parent)
my $bool = $seg->set_parent_root;
(csdk: newrelic_set_segment_parent_root)
my $bool = $seg->set_timing($start_time, $duration);
(csdk: newrelic_set_segment_timing)
Author: Graham Ollis <plicease@cpan.org>
Contributors:
Owen Allsopp (ALLSOPP)
This software is copyright (c) 2020-2022 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.