NewFangle::CustomEvent - NewRelic custom event class
version 0.09
use NewFangle; my $app = NewFangle::App->new; my $txn = $app->start_web_transaction("my-txn"); my $event = NewFangle::CustomEvent->new("my event"); $txn->record_custom_event($event);
NewRelic custom event class.
my $event = NewFangle::CustomEvent->new($event_type);
Creates a NewRelic application custom event.
(csdk: newrelic_create_custom_event)
$event->add_attribute_int($key, $value);
(csdk: newrelic_custom_event_add_attribute_int)
$event->add_attribute_long($key, $value);
(csdk: newrelic_custom_event_add_attribute_long)
$event->add_attribute_double($key, $value);
(csdk: newrelic_custom_event_add_attribute_double)
$event->add_attribute_string($key, $value);
(csdk: newrelic_custom_event_add_attribute_string)
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.