grafana / explore-profiles

Explore Profiles is a native Grafana application designed to integrate seamlessly with Pyroscope, the open-source continuous profiling platform, providing a smooth, query-less experience for browsing and analyzing profiling data.
GNU Affero General Public License v3.0
18 stars 2 forks source link

refactor(*): Improve error tracking #264

Closed grafakus closed 1 week ago

grafakus commented 2 weeks ago

✨ Description

Related issue(s): resolves https://github.com/grafana/explore-profiles/issues/263

This PR is an attempt to improve how we track errors, in order to benefit from great frontend observability dashboards and fast response in case of incidents!

📖 Summary of the changes

Besides adding an ErrorBoundary with a new error page:

image

This PR introduces several changes:

🧪 How to test?

The build should pass: some unit tests have been added, some refactored.

Manually:

github-actions[bot] commented 2 weeks ago

Unit test coverage

Lines Statements Branches Functions
Coverage: 13%
13.56% (541/3987) 10.28% (145/1410) 9.82% (124/1262)