Skip to content

Instantly share code, notes, and snippets.

@jacquesbh
Created August 22, 2016 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacquesbh/d88a8b8c8eea2e3df0814d113991799e to your computer and use it in GitHub Desktop.
Save jacquesbh/d88a8b8c8eea2e3df0814d113991799e to your computer and use it in GitHub Desktop.
Simple blackfire.yml to get metrics information (Magento 1)
tests:
"Info: Action cms/index/index":
assertions:
- "metrics.magento1.action.cms_index_index.count"
"Info: Action cms/page/view":
assertions:
- "metrics.magento1.action.cms_page_view.count"
"Info: Action catalog/category/view":
assertions:
- "metrics.magento1.action.catalog_category_view.count"
"Info: Action catalog/product/view":
assertions:
- "metrics.magento1.action.catalog_product_view.count"
"Info: Action checkout/cart/index":
assertions:
- "metrics.magento1.action.checkout_cart_index.count"
"Info: Controller customer/account":
assertions:
- "metrics.magento1.controller.customer_account.count"
"Info: Controller checkout/onepage":
assertions:
- "metrics.magento1.controller.checkout_onepage.count"
"Info: Model loads":
assertions:
- "metrics.magento1.model.load.count"
"Info: Product load":
assertions:
- "metrics.magento1.model.product.load.count"
"Info: Collection load":
assertions:
- "metrics.magento1.collection.load.count"
"Info: Products collection load":
assertions:
- "metrics.magento1.collection.product.load.count"
"Info: Customer logged in?":
assertions:
- "metrics.magento1.customer.logged_in.count"
"Info: Cache":
assertions:
- "metrics.magento1.block.cache.load.get_cache_key.count"
- "metrics.magento1.collection.cache.unserialize.count"
- "metrics.magento1.collection.cache.unserialize.count"
- "metrics.magento1.layout.update.save_cache.count"
- "metrics.magento1.translate.cache.unserialize.count"
"Info: Config":
"assertions":
- "metrics.magento1.config.read.count"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment