You are here

public function ExtensionAdapter::addCustomParameter in New Relic 2.x

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

Adds a custom parameter.

Parameters

string $key: Key that identifies the parameter.

string $value: Value for the parameter.

Overrides NewRelicAdapterInterface::addCustomParameter

File

src/ExtensionAdapter/ExtensionAdapter.php, line 43

Class

ExtensionAdapter
Default new relic adapter.

Namespace

Drupal\new_relic_rpm\ExtensionAdapter

Code

public function addCustomParameter($key, $value) {
  newrelic_add_custom_parameter($key, $value);
}