public function NewRelicAdapterInterface::recordCustomEvent in New Relic 2.x
Same name and namespace in other branches
- 8 src/ExtensionAdapter/NewRelicAdapterInterface.php \Drupal\new_relic_rpm\ExtensionAdapter\NewRelicAdapterInterface::recordCustomEvent()
- 2.0.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 68
Class
- NewRelicAdapterInterface
- New relic API adapter interface.
Namespace
Drupal\new_relic_rpm\ExtensionAdapterCode
public function recordCustomEvent($name, array $attributes);