73 if ($this->config->isNewRelicEnabled()) {
74 $this->newRelicWrapper->addCustomParameter(
Config::STORE, $this->storeManager->getStore()->getName());
75 $this->newRelicWrapper->addCustomParameter(
Config::WEBSITE, $this->storeManager->getWebsite()->getName());
77 if ($this->customerSession->isLoggedIn()) {
78 $customer = $this->customerRepository->getById($this->customerSession->getCustomerId());
80 $this->newRelicWrapper->addCustomParameter(
execute(Observer $observer)
__construct(Config $config, \Magento\Customer\Model\Session $customerSession, \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository, \Magento\Store\Model\StoreManagerInterface $storeManager, NewRelicWrapper $newRelicWrapper)