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

fix(Timeseries): Persist scale when data changes #251

Closed grafakus closed 3 weeks ago

grafakus commented 3 weeks ago

✨ Description

Related issue(s): is caused by https://github.com/grafana/explore-profiles/pull/249

This PR makes the scale persistent when the timeseries data changes (e.g. when choosing a different time range/adding filters).

📖 Summary of the changes

See diff tab

🧪 How to test?

Expected behaviour: the timeseries should display the data with a "Log2" scale

github-actions[bot] commented 3 weeks ago

Unit test coverage

Lines Statements Branches Functions
Coverage: 11%
11.58% (447/3860) 9.02% (123/1363) 8.46% (104/1228)