Skip to content

Commit

Permalink
Fixed Metric prefix to magento instead of magento2
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLambauer committed Nov 6, 2021
1 parent 7d25060 commit 6b30bc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class CustomerAddressesCountAggregator implements MetricAggregatorInterface
{
private const METRIC_CODE = 'magento2_customer_addresses_count_total';
private const METRIC_CODE = 'magento_customer_addresses_count_total';

private UpdateMetricService $updateMetricService;
private ResourceConnection $resourceConnection;
Expand Down
2 changes: 1 addition & 1 deletion src/Aggregator/Customer/CustomerCountAggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class CustomerCountAggregator implements MetricAggregatorInterface
{
private const METRIC_CODE = 'magento2_customer_count_total';
private const METRIC_CODE = 'magento_customer_count_total';

private UpdateMetricService $updateMetricService;
private ResourceConnection $resourceConnection;
Expand Down
2 changes: 1 addition & 1 deletion src/Aggregator/Customer/CustomerGroupCountAggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class CustomerGroupCountAggregator implements MetricAggregatorInterface
{
private const METRIC_CODE = 'magento2_customer_group_count_total';
private const METRIC_CODE = 'magento_customer_group_count_total';

private UpdateMetricService $updateMetricService;
private ResourceConnection $resourceConnection;
Expand Down

0 comments on commit 6b30bc1

Please sign in to comment.