public function NewRelicApiClient::setAppName in New Relic 8
Same name and namespace in other branches
- 2.x src/Client/NewRelicApiClient.php \Drupal\new_relic_rpm\Client\NewRelicApiClient::setAppName()
- 2.0.x src/Client/NewRelicApiClient.php \Drupal\new_relic_rpm\Client\NewRelicApiClient::setAppName()
Change the application name used for requests.
Defaults to the newrelic.appname php configuration value.
Parameters
string $name: The name to use.
1 call to NewRelicApiClient::setAppName()
- NewRelicApiClient::__construct in src/
Client/ NewRelicApiClient.php - Constructs a new NewRelicApiClient.
File
- src/
Client/ NewRelicApiClient.php, line 108
Class
- NewRelicApiClient
- Controls the interaction between us and newrelic rest API v2.
Namespace
Drupal\new_relic_rpm\ClientCode
public function setAppName($name) {
$this->appName = $name;
$this->appId = NULL;
}