A network performance and monitoring add on for EVA SDK service calls
This interceptor captures the timing and responses of all the service calls going through the EVA SDK. It provides statistics about the number of network calls, their timings and success or error responses. The metrics are stored in the IndexedDB database of the browser.
import { evaServiceMonitor } from '@springtree/eva-sdk-core-service-monitor';
// This will register and enable the interceptor with the EvaService class
// Activation will perform some database initialization and cleanup
// which can be await'ed or done in the background
//
await evaServiceMonitor.activate();