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 1 forks source link

fix(Labels): Fix error with bar gauges viz and new Grafana version #159

Closed grafakus closed 1 month ago

grafakus commented 1 month ago

✨ Description

Related issue(s): -

This PR to prevent an error to occur on the "Labels" view after selecting the "Totals" panel type:

image image

📖 Summary of the changes

The cause of the error is due to the new Grafana version (v11.3.0-75623), which requires the legend option to be set, as we can see in the stack trace:

image

🧪 How to test?

github-actions[bot] commented 1 month ago

Unit test coverage

Lines Statements Branches Functions
Coverage: 10%
10.63% (476/4477) 8.21% (136/1656) 7.99% (109/1363)