How do I instrument my apps for performance metrics?
With OutSystems, applications are automatically instrumented to create error, audit and performance logs so you don't have to. At runtime, these metrics are captured asynchronously, so that the performance of applications is not compromised while they create a constant stream of metrics.
The log service runs at lower priority, so that it doesn't compete with the normal processing of applications. At runtime, when an application generates an error, audit, or performance event:
- The event is written to a standard message queue on the front-end server.
- The log service running on the front-end server asynchronously retrieves the events from the message queue and adds them to the logs database.
- The events can then be leveraged by the monitoring consoles to display errors, audits or performance data. They can also be sent to external systems by using available APIs.