Measure Reliability
You can measure the reliability of your application with Polaris.
TypeScript
const instrument = measure('grid-sort');
function async onSort() {
// measure reliability
try {
await sort();
instrument.success();
} catch (error) {
instrument.fail(error);
}
}