You are here

public function NewRelicAdapterInterface::recordCustomEvent in New Relic 2.0.x

Same name and namespace in other branches
  1. 8 src/ExtensionAdapter/NewRelicAdapterInterface.php \Drupal\new_relic_rpm\ExtensionAdapter\NewRelicAdapterInterface::recordCustomEvent()
  2. 2.x src/ExtensionAdapter/NewRelicAdapterInterface.php \Drupal\new_relic_rpm\ExtensionAdapter\NewRelicAdapterInterface::recordCustomEvent()

Records a custom event for insights.

Parameters

string $name: Name of the event.

array $attributes: List of attributees for the event. Only scalar types are allowed.

2 methods override NewRelicAdapterInterface::recordCustomEvent()
ExtensionAdapter::recordCustomEvent in src/ExtensionAdapter/ExtensionAdapter.php
Records a custom event for insights.
NullAdapter::recordCustomEvent in src/ExtensionAdapter/NullAdapter.php
Records a custom event for insights.

File

src/ExtensionAdapter/NewRelicAdapterInterface.php, line 64

Class

NewRelicAdapterInterface
New relic API adapter interface.

Namespace

Drupal\new_relic_rpm\ExtensionAdapter

Code

public function recordCustomEvent($name, array $attributes);