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
1
forks
source link
refactor(Tracking): Better error logging for Scenes variables #290
When a Scene variable encounters an error, the Scenes library only sets the error message in the variable state. This PR ensures we log an error with Faro, and not only the message.
Additionally, there's a of behaviour for the "Labels" view: we prevent the labels data source to fail when fetching label values fail.
📖 Summary of the changes
The logger calls are moved to the data sources instead of the React components. See diff tab for specific comments.
✨ Description
Related issue(s):
-
When a Scene variable encounters an error, the Scenes library only sets the error message in the variable state. This PR ensures we log an error with Faro, and not only the message.
Additionally, there's a of behaviour for the "Labels" view: we prevent the labels data source to fail when fetching label values fail.
📖 Summary of the changes
The logger calls are moved to the data sources instead of the React components. See diff tab for specific comments.
🧪 How to test?
-