Skip to main content

Health Monitor

Admin Manager

The WooCommerce Health Monitor is your central dashboard for tracking the status of all synchronization activity between Brother POS and your WooCommerce store. Use it to verify that syncs are running, identify failures, and take corrective action.

WooCommerce Health Monitor dashboard displaying integration status, sync statistics, and recent sync logs


Accessing the Health Monitor

  1. Log in to the Brother POS Admin Panel.
  2. Navigate to Settings and click the WooCommerce Monitor link (or go to the WooCommerce configuration page and click Monitor).
  3. The Health Monitor dashboard loads with real-time status information.

Dashboard Overview

The Health Monitor displays four key sections:

1. Integration Health Status

A color-coded banner at the top shows the overall health of your WooCommerce integration:

StatusColorMeaning
HealthyGreenIntegration is working normally. No recent errors.
WarningYellowRecent sync failures detected in the last hour. Investigation recommended.
ErrorRedMissing credentials or critical configuration issue. Sync is not running.
DisabledGrayWooCommerce integration is not configured or not enabled.

2. Sync Statistics

Summary statistics for your integration activity:

MetricDescription
Total SyncsTotal number of sync operations since integration was enabled
Successful SyncsNumber of syncs that completed without errors
Failed SyncsNumber of syncs that encountered errors
Last SyncTimestamp of the most recent sync operation
Avg Sync TimeAverage duration of successful syncs (in minutes)

3. Sync Summary

A breakdown of sync activity over two time periods:

Last 24 Hours:

  • Total sync operations
  • Successful operations
  • Failed operations

Last 7 Days:

  • Total sync operations
  • Successful operations
  • Failed operations

4. Recent Sync Logs

The 10 most recent sync operations are displayed with details:

ColumnDescription
TypeThe sync type (product_import, order_import, inventory_push, etc.)
StatusCompleted or Failed
Started AtWhen the sync began
Completed AtWhen the sync finished (if completed)
Records ProcessedNumber of records evaluated
Records FailedNumber of records that encountered errors
Error MessageError details (for failed syncs)

Sync Types

The Health Monitor tracks several types of sync operations:

Sync TypeDescriptionDirection
product_importImports products from WooCommerceWooCommerce -> Brother POS
product_exportPushes product changes to WooCommerceBrother POS -> WooCommerce
inventory_pushPushes stock levels to WooCommerceBrother POS -> WooCommerce
order_importImports orders from WooCommerceWooCommerce -> Brother POS
auto_correctionAutomatically corrects discrepanciesBoth
change_detectionDetects discrepancies between systemsBoth

Quick Actions

The Health Monitor provides two quick actions:

Test Connection

Click Test Connection to verify that Brother POS can communicate with your WooCommerce store.

  • Sends a test API request to your WooCommerce REST API.
  • Returns "Connection successful" with store data if the test passes.
  • Returns an error message with details if the test fails.

This is useful for diagnosing connectivity issues without waiting for a scheduled sync.

Force Sync

Click Force Sync to trigger an immediate product sync.

  • Runs the full product sync process (categories, then products).
  • Results appear in the Recent Sync Logs section when complete.
  • Does not affect the scheduled sync timer -- the next scheduled sync will still run on time.
When to force sync

Force a sync after making bulk changes in WooCommerce, after resolving connection issues, or when you need changes reflected in Brother POS immediately rather than waiting for the next scheduled cycle.


Reading Sync Logs

Each sync log entry tells a complete story about a sync operation. Here is how to interpret them:

Successful Sync

A healthy sync log entry looks like:

  • Status: Completed
  • Records Processed: 150 (total products or orders evaluated)
  • Records Failed: 0
  • Details: Shows breakdown -- products created, updated, skipped, categories synced, etc.

Failed Sync

A problematic sync log entry shows:

  • Status: Failed
  • Error Message: Description of what went wrong
  • Records Processed: How far the sync got before failing
  • Records Failed: How many individual records had errors

Understanding Sync Details

When you expand a sync log entry, the details object contains granular metrics:

Product Import Details

MetricDescription
products_processedTotal products evaluated
products_createdNew products added to Brother POS
products_updatedExisting products updated
products_failedProducts that failed to import
variations_processedTotal variations evaluated
variations_createdNew variations created
variations_updatedExisting variations updated
categories_syncedCategories created or updated
categories_failedCategories that failed to sync

Inventory Push Details

MetricDescription
products_processedTotal products evaluated for pushing
products_updatedProducts successfully pushed
products_failedProducts that failed to push
products_skippedProducts without WooCommerce mappings
variations_updatedVariations successfully pushed
variations_failedVariations that failed to push

Common Health Issues

"Missing credentials"

Cause: Store URL, Consumer Key, or Consumer Secret is not configured.

Fix: Go to Settings and click the WooCommerce Integration link, then enter all required credentials.

"WooCommerce not enabled"

Cause: The integration is configured but the enabled toggle is off.

Fix: Go to Settings and click the WooCommerce Integration link, then toggle the Enabled switch.

"Recent sync failures detected"

Cause: One or more sync operations failed in the last hour.

Fix: Check the Recent Sync Logs for error details. Common causes include:

  • Network connectivity issues (temporary -- will self-resolve)
  • WooCommerce API rate limits (increase polling interval)
  • Product validation errors (fix product data in WooCommerce)
  • Expired or revoked API keys (re-generate in WooCommerce)

Sync Timestamps

Brother POS tracks the last sync time for each sync type independently:

TimestampWhat It Tracks
last_product_sync_atLast successful product import
last_order_sync_atLast successful order import
last_inventory_push_atLast successful inventory push

These timestamps determine when the next sync is due. If a timestamp is older than the polling interval, the sync is overdue and will run on the next cycle.


Alerting and Notifications

The Health Monitor provides visual alerts on the dashboard. Currently, Brother POS monitors:

  • Consecutive failures: If syncs fail repeatedly, the health status changes to Warning or Error.
  • Stale syncs: If no sync has run in more than twice the polling interval, investigation is recommended.
  • High failure rate: If more than 10% of recent syncs have failed.
Future enhancements

Email and webhook notifications for sync failures are planned for a future release. Currently, monitoring requires checking the Health Monitor dashboard periodically.


Best Practices

  1. Check the Health Monitor daily. Make it part of your opening routine to verify the integration is healthy.
  2. Investigate warnings promptly. A "Warning" status means something failed recently. Even if it self-corrected, understanding the cause prevents future issues.
  3. Review failed records. A successful sync can still have individual failed records. Expand the sync details to see if any products or orders need attention.
  4. Keep your polling interval reasonable. Very short intervals (under 2 minutes) can trigger WooCommerce API rate limits.
  5. Test after changes. After updating API keys, changing your store URL, or updating the WooCommerce plugin, use the Test Connection button to verify.

What's Next?