Measure Reliability

You can measure the reliability of your application with Polaris.

React
export function Grid() {
  const instrument = useInstrument('grid-sort');

  useEffect(() => {
    fetch('/api')
      .then(result.json)
      .then((data) => {
        // measure reliability
        instrument.done();
        setRowData(data);
      })
      .catch((error) => {
        instrument.fail(error);
      });
  }, []);

  return (<></>);
}