|
| 1 | +# Available Metrics |
| 2 | + |
| 3 | +This document lists metrics available in the Magento 2 Prometheus Exporter. |
| 4 | + |
| 5 | +## Metric Categories |
| 6 | + |
| 7 | +### Order Metrics |
| 8 | +- Order counts by status |
| 9 | +- Revenue metrics |
| 10 | +- Order item counts |
| 11 | + |
| 12 | +### Product Metrics |
| 13 | +- Product counts by type |
| 14 | +- Category metrics |
| 15 | +- Inventory levels |
| 16 | + |
| 17 | +### Customer Metrics |
| 18 | +- Customer registration counts |
| 19 | +- Customer activity |
| 20 | + |
| 21 | +### System Metrics |
| 22 | +- Cron job status |
| 23 | +- Indexer status |
| 24 | +- Cache metrics |
| 25 | + |
| 26 | +### CMS Metrics |
| 27 | +- CMS page counts |
| 28 | +- CMS block counts |
| 29 | + |
| 30 | +## Metric Collection |
| 31 | + |
| 32 | +Metrics are collected via cron jobs and aggregated for performance. |
| 33 | +The `/metrics` endpoint serves data in Prometheus format. |
| 34 | + |
| 35 | +## Aggregator Classes |
| 36 | + |
| 37 | +### ActivePaymentMethodsCountAggregator |
| 38 | +**Source**: `src/Aggregator/Payment/ActivePaymentMethodsCountAggregator.php` |
| 39 | + |
| 40 | +### AttributeSetCountAggregator |
| 41 | +**Source**: `src/Aggregator/Eav/AttributeSetCountAggregator.php` |
| 42 | + |
| 43 | +### AttributeCountAggregator |
| 44 | +**Source**: `src/Aggregator/Eav/AttributeCountAggregator.php` |
| 45 | + |
| 46 | +### ModuleCountAggregator |
| 47 | +**Source**: `src/Aggregator/Module/ModuleCountAggregator.php` |
| 48 | + |
| 49 | +### CmsPagesCountAggregator |
| 50 | +**Source**: `src/Aggregator/Cms/CmsPagesCountAggregator.php` |
| 51 | + |
| 52 | +### CmsBlockCountAggregator |
| 53 | +**Source**: `src/Aggregator/Cms/CmsBlockCountAggregator.php` |
| 54 | + |
| 55 | +### ActiveShippingMethodsCountAggregator |
| 56 | +**Source**: `src/Aggregator/Shipping/ActiveShippingMethodsCountAggregator.php` |
| 57 | + |
| 58 | +### OrderCountAggregator |
| 59 | +**Source**: `src/Aggregator/Order/OrderCountAggregator.php` |
| 60 | + |
| 61 | +### OrderAmountAggregator |
| 62 | +**Source**: `src/Aggregator/Order/OrderAmountAggregator.php` |
| 63 | + |
| 64 | +### OrderItemCountAggregator |
| 65 | +**Source**: `src/Aggregator/Order/OrderItemCountAggregator.php` |
| 66 | + |
| 67 | +### OrderItemAmountAggregator |
| 68 | +**Source**: `src/Aggregator/Order/OrderItemAmountAggregator.php` |
| 69 | + |
| 70 | +### CronJobCountAggregator |
| 71 | +**Source**: `src/Aggregator/CronJob/CronJobCountAggregator.php` |
| 72 | + |
| 73 | +### BrokenCronJobCountAggregator |
| 74 | +**Source**: `src/Aggregator/CronJob/BrokenCronJobCountAggregator.php` |
| 75 | + |
| 76 | +### AdminUserCountAggregator |
| 77 | +**Source**: `src/Aggregator/User/AdminUserCountAggregator.php` |
| 78 | + |
| 79 | +### ProductCountAggregator |
| 80 | +**Source**: `src/Aggregator/Product/ProductCountAggregator.php` |
| 81 | + |
| 82 | +### ProductByTypeCountAggregator |
| 83 | +**Source**: `src/Aggregator/Product/ProductByTypeCountAggregator.php` |
| 84 | + |
| 85 | +### ShipmentCountAggregator |
| 86 | +**Source**: `src/Aggregator/Shipment/ShipmentCountAggregator.php` |
| 87 | + |
| 88 | +### CustomerGroupCountAggregator |
| 89 | +**Source**: `src/Aggregator/Customer/CustomerGroupCountAggregator.php` |
| 90 | + |
| 91 | +### CustomerAddressesCountAggregator |
| 92 | +**Source**: `src/Aggregator/Customer/CustomerAddressesCountAggregator.php` |
| 93 | + |
| 94 | +### CustomerCountAggregator |
| 95 | +**Source**: `src/Aggregator/Customer/CustomerCountAggregator.php` |
| 96 | + |
| 97 | +### CategoryCountAggregator |
| 98 | +**Source**: `src/Aggregator/Category/CategoryCountAggregator.php` |
| 99 | + |
| 100 | +### IndexerChangelogCountAggregator |
| 101 | +**Source**: `src/Aggregator/Index/IndexerChangelogCountAggregator.php` |
| 102 | + |
| 103 | +### IndexerBacklogCountAggregator |
| 104 | +**Source**: `src/Aggregator/Index/IndexerBacklogCountAggregator.php` |
| 105 | + |
| 106 | +### StoreCountAggregator |
| 107 | +**Source**: `src/Aggregator/Store/StoreCountAggregator.php` |
| 108 | + |
| 109 | +### WebsiteCountAggregator |
| 110 | +**Source**: `src/Aggregator/Store/WebsiteCountAggregator.php` |
| 111 | + |
| 112 | + |
| 113 | +*Last updated: Fri Jun 13 14:09:45 UTC 2025* |
0 commit comments