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.
For the grid panels, we use different queries for the serviceName and the profileMetricId variables, they now depend on the selected profile metric and the selected service name, respectively
For the "Labels" and "Flame graph" exploration types, the "Profile type" selector in the UI also uses a query that depends on the service selected
We've updated SeriesDataSource to support multiple queries ; we took the opportunity to update the data massaging after fetching from the /Series endpoint, creating lookup tables for both services โ profile metrics and vice-versa.
Finally, the "Hide panels without data" switch has been removed from the "All services" & "Profile types" exploration type views.
โจ Description
Related issue(s): solves https://github.com/grafana/explore-profiles/issues/74
This PR prevents showing panels with no data:
serviceName
and theprofileMetricId
variables, they now depend on the selected profile metric and the selected service name, respectivelyShort video to illustrate the changes:
https://github.com/user-attachments/assets/6e81b1c3-a173-43fe-bfa3-84816edeccbc
๐ Summary of the changes
We've updated
SeriesDataSource
to support multiple queries ; we took the opportunity to update the data massaging after fetching from the/Series
endpoint, creating lookup tables for both services โ profile metrics and vice-versa.Finally, the "Hide panels without data" switch has been removed from the "All services" & "Profile types" exploration type views.
See diff tab for specific comments.
๐งช How to test?