Portal Community

What to Monitor

For EdgeInteract deployments, focus on four operational health signals:

Key Metrics

interaction_response_time_ms
histogram

Time from interaction displayed to response received. Tagged by type and outcome.

interaction_published_total
counter

Total interactions published. Tagged by type and priority.

interaction_responses_total
counter

Total responses received. Tagged by type and outcome.

interaction_timeout_total
counter

Total timeouts. Tagged by type. Alert when this rises above 5% of publishes.

interaction_in_flight
gauge

Current number of pending interactions awaiting a response.

interaction_blocked_total
counter

Interactions blocked by pre-send hooks. Tagged by blocked_by (hook name).

Observability Stack

LayerToolWhat It Provides
Real-time visibilityInteractionMonitor (React component)Live view of in-flight interactions, recent completions
Compliance auditIInteractionAuditStore (server-side)Immutable record of every request/response pair
Time-series metricsOTel → Prometheus → BizFirst ObserveCharts, dashboards, trend analysis
AlertingGrafana AlertManager (via BizFirst Observe)PagerDuty/Slack alerts on threshold violations
Register the Metrics Hook The MetricsInteractionHook must be registered for any metrics to be emitted. It is not enabled by default.
// Enable metrics emission
builder.Services.AddInteractionHook<AuditInteractionHook>();
builder.Services.AddInteractionHook<MetricsInteractionHook>(); // Add this