Performance tab: pass group+routeId to scoped stats/timeseries API #51
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The
PerformanceTabcomponent acceptsgroupandrouteIdprops but theuseExecutionStatsanduseStatsTimeserieshooks don't pass these to the backend. The backend already supports?group=and?routeId=query params on/search/statsand/search/stats/timeseries.What's needed
useExecutionStatsanduseStatsTimeserieshooks inapi/queries/executions.tsto accept optionalgroupandrouteIdparametersPerformanceTabto passgroupandrouteIdto the hooksImpact
Without this fix, the Performance tab shows global stats instead of stats scoped to the specific route.