Skip to content

Commit 4388132

Browse files
committed
feat(ui): increase metric history limit and duration for better data retrieval
1 parent a6cc623 commit 4388132

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/qubex-config

ui/src/components/features/metrics/CouplingMetricHistoryModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function CouplingMetricHistoryModal({
8181
const { data, isLoading, isError } = useGetCouplingMetricHistory(
8282
chipId,
8383
activeCouplingId,
84-
{ metric: metricName, limit: 20, within_days: 30 },
84+
{ metric: metricName, limit: 100, within_days: 365 },
8585
{
8686
query: {
8787
staleTime: 30000,

ui/src/components/features/metrics/QubitMetricHistoryModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function QubitMetricHistoryModal({
6565
const { data, isLoading, isError } = useGetQubitMetricHistory(
6666
chipId,
6767
qid,
68-
{ metric: metricName, limit: 20, within_days: 30 },
68+
{ metric: metricName, limit: 100, within_days: 365 },
6969
{
7070
query: {
7171
staleTime: 30000,

0 commit comments

Comments
 (0)