app-health-monitor
Reactive icon

App Health Monitor

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 1 Jun (13 hours ago)
 by 
0.0
 (0 ratings)
app-health-monitor

App Health Monitor

Documentation
1.0.0

App Health Monitor


Overview

App Health Monitor is a client-side monitoring component for OutSystems Reactive apps. It tracks errors, slow calls, performance issues, and memory usage in real time — all from a single Client Action call.


Installation

  1. Install the AppHealthMonitorCW module from Forge
  2. Add a reference to LogInit Client Action in your app
  3. Done

Setup

In your app's OnApplicationReady event, call LogInit:

ParameterTypeDefaultDescription
EspaceNameText
Your app name. Pass GetEntryEspaceName()
BufferSizeInteger20Logs to buffer before saving to server
SLOW_THRESHOLD     Integer        2000REST call slow limit (ms)
PERF_THRESHOLDInteger3000Screen load slow limit (ms)
NAV_THRESHOLDInteger30000        Long screen session limit (ms)
MEM_THRESHOLDInteger50Memory warning limit (MB)

What Gets Logged

TypeWhen
REST             HTTP call fails (400+)
SLOWCall duration exceeds SLOW_THRESHOLD
ERRJS errors, console.error, unhandled promises
WARNconsole. warn
LOGconsole.log (OutSystems internal logs skipped)
PERFScreen load exceeds PERF_THRESHOLD
NAVUser stays on screen beyond NAV_THRESHOLD
MEMMemory exceeds MEM_THRESHOLD

Notes

  • All logs are buffered client-side in a Client Variable
  • Server sync happens automatically after BufferSize entries
  • OutSystems internal logs are automatically filtered from LOG type
  • Only problems are logged — successful fast calls are skipped