beehexacorp/module-hexasync-metrics
Composer 安装命令:
composer require beehexacorp/module-hexasync-metrics
包简介
HexaSync Metrics Dashboard - Monitor system health and sync issues
README 文档
README
Admin dashboard and report pages for system health and HexaSync status.
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.
- Sync diagnostics from
Model/MetricsCalculator.php- Backward-compatible facade that delegates to the calculators above.
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
7dand30dchange 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
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
Orders
- Orders not completed
- Orders not synced
- Orders not completed older than 3 months
Products
- Products with negative qty
- Products with duplicate SKU
- Products with negative price
- Products with oversold risk
Sync (beehexa_hexasync_log)
- Errors in last 24h
- Pending / failed tasks
- Tasks with retry > 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
HexaSync Metrics > DashboardHexaSync Metrics > Order ReportsHexaSync Metrics > Product ReportsHexaSync Metrics > Sync Reports
Install and enable
php bin/magento module:enable Beehexa_HexaSyncMetrics php bin/magento setup:upgrade php bin/magento cache:flush
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
php bin/magento cache:clean php bin/magento setup:di:compile
beehexacorp/module-hexasync-metrics 适用场景与选型建议
beehexacorp/module-hexasync-metrics 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 beehexacorp/module-hexasync-metrics 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 beehexacorp/module-hexasync-metrics 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 49
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2026-05-13