NAME

NewFangle::CustomEvent - NewRelic custom event class

VERSION

version 0.09

SYNOPSIS

 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);

DESCRIPTION

NewRelic custom event class.

CONSTRUCTOR

new

 my $event = NewFangle::CustomEvent->new($event_type);

Creates a NewRelic application custom event.

(csdk: newrelic_create_custom_event)

add_attribute_int

 $event->add_attribute_int($key, $value);

(csdk: newrelic_custom_event_add_attribute_int)

add_attribute_long

 $event->add_attribute_long($key, $value);

(csdk: newrelic_custom_event_add_attribute_long)

add_attribute_double

 $event->add_attribute_double($key, $value);

(csdk: newrelic_custom_event_add_attribute_double)

add_attribute_string

 $event->add_attribute_string($key, $value);

(csdk: newrelic_custom_event_add_attribute_string)

SEE ALSO

NewFangle

AUTHOR

Author: Graham Ollis <plicease@cpan.org>

Contributors:

Owen Allsopp (ALLSOPP)

COPYRIGHT AND LICENSE

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.