Log in
Model

Counter

Magento\NewRelicReporting\Model\Counter

What it does

This class provides counting methods for various Magento entities like products, categories, customers, websites, and store views.

Developers use it to retrieve statistics about the store's catalog and configuration, primarily for New Relic reporting and monitoring purposes.

It acts as a centralized service for gathering count metrics across different Magento modules.

Public Methods

  • getAllProductsCount()
  • getConfigurableCount()
  • getActiveCatalogSize()
  • getCategoryCount()
  • getCustomerCount()
  • getWebsiteCount()
  • getStoreViewsCount()