PHPackages                             beehexacorp/module-hexasync-metrics - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. beehexacorp/module-hexasync-metrics

ActiveMagento2-module[Logging &amp; Monitoring](/categories/logging)

beehexacorp/module-hexasync-metrics
===================================

HexaSync Metrics Dashboard - Monitor system health and sync issues

1.1.0(3w ago)00OSL-3.0PHPPHP ~8.1 || ~8.2 || ~8.3

Since May 13Pushed 3w agoCompare

[ Source](https://github.com/beehexacorp/module-hexasync-metrics)[ Packagist](https://packagist.org/packages/beehexacorp/module-hexasync-metrics)[ RSS](/packages/beehexacorp-module-hexasync-metrics/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Beehexa\_HexaSyncMetrics
========================

[](#beehexa_hexasyncmetrics)

Admin dashboard and report pages for system health and HexaSync status.

Calculator structure
--------------------

[](#calculator-structure)

- `Model/Calculator/OrderMetricsCalculator.php`
    - Order-related metrics.
- `Model/Calculator/ProductMetricsCalculator.php`
    - Product/inventory/pricing metrics.
- `Model/Calculator/SyncMetricsCalculator.php`
    - Sync diagnostics from `beehexa_hexasync_log`.
- `Model/MetricsCalculator.php`
    - Backward-compatible facade that delegates to the calculators above.

Dashboard enhancements
----------------------

[](#dashboard-enhancements)

- **Threshold color states** per metric card: `ok` (green), `warning` (orange), `critical` (red).
- **Drill-down links** from cards to anchored report sections.
- **Trend badges** for `7d` and `30d` change on each card.
- **Trend direction indicators**: ↑ increasing (red), ↓ decreasing (green), → no change (gray).
- **Mini sparkline bars** (normalized 30-day trend visualization).
- **Daily snapshot persistence** table: `beehexa_hexasync_metric_snapshot`.
- **Daily cron snapshot capture** + automatic retention cleanup (400 days).

Threshold configuration
-----------------------

[](#threshold-configuration)

**Admin path:** `Stores > Configuration > General > HexaSync Metrics > Dashboard Thresholds`

**Scopes:**

- Default (global)
- Website (per website override)
- Store (disabled to avoid clutter)

All metrics have separate `warn` and `critical` thresholds.

Included metrics
----------------

[](#included-metrics)

### Orders

[](#orders)

- Orders not completed
- Orders not synced
- Orders not completed older than 3 months

### Products

[](#products)

- Products with negative qty
- Products with duplicate SKU
- Products with negative price
- Products with oversold risk

### Sync (`beehexa_hexasync_log`)

[](#sync-beehexa_hexasync_log)

- Errors in last 24h
- Pending / failed tasks
- Tasks with retry &gt; 3
- Success rate
- Pending tasks older than 2h and 24h
- Log volume in last 24h
- Missing task ID logs in last 24h
- Task status breakdown
- Top error messages
- Top failed profiles
- Top failed action types
- Top failed task names
- Retry distribution (0, 1-2, 3-5, 6+)
- Recent failed tasks

Admin paths
-----------

[](#admin-paths)

- `HexaSync Metrics > Dashboard`
- `HexaSync Metrics > Order Reports`
- `HexaSync Metrics > Product Reports`
- `HexaSync Metrics > Sync Reports`

Install and enable
------------------

[](#install-and-enable)

```
php bin/magento module:enable Beehexa_HexaSyncMetrics
php bin/magento setup:upgrade
php bin/magento cache:flush
```

Snapshot operations
-------------------

[](#snapshot-operations)

Manual capture command:

```
php bin/magento beehexa:metrics:snapshot:capture
php bin/magento beehexa:metrics:snapshot:capture --date=2026-04-20
```

Daily cron schedule: `05:00` every day (`etc/crontab.xml`)

Quick verification
------------------

[](#quick-verification)

```
php bin/magento cache:clean
php bin/magento setup:di:compile
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance94

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

27d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36949233?v=4)[beehexa](/maintainers/beehexa)[@beehexa](https://github.com/beehexa)

### Embed Badge

![Health badge](/badges/beehexacorp-module-hexasync-metrics/health.svg)

```
[![Health](https://phpackages.com/badges/beehexacorp-module-hexasync-metrics/health.svg)](https://phpackages.com/packages/beehexacorp-module-hexasync-metrics)
```

###  Alternatives

[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2486.3k](/packages/graycore-magento2-stdlogging)[fredden/magento2-module-javascript-error-reporting

A Magento 2 module which captures JavaScript errors for later review by website administrators

3139.3k](/packages/fredden-magento2-module-javascript-error-reporting)[mage-os/module-admin-activity-log

The Admin Activity extension makes it easy to track all admin activity with comprehensive audit logging.

293.3k](/packages/mage-os-module-admin-activity-log)[graycore/magento2-graphql-logger

107.5k](/packages/graycore-magento2-graphql-logger)[itonomy/module-admin-activity

A continuation of The Admin Activity extension by KiwiCommerce. This extension makes it easy to track all admin activity and revert the modification.

1272.0k](/packages/itonomy-module-admin-activity)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1010.0k22](/packages/loki-magento2-components)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
