diff --git a/packages/analytics/dashboard-renderer/src/components/GoldenSignalsRenderer.vue b/packages/analytics/dashboard-renderer/src/components/GoldenSignalsRenderer.vue index 2b7ae3b74e..f8f9c4c7a6 100644 --- a/packages/analytics/dashboard-renderer/src/components/GoldenSignalsRenderer.vue +++ b/packages/analytics/dashboard-renderer/src/components/GoldenSignalsRenderer.vue @@ -10,6 +10,7 @@ import type { MetricCardOptions, RendererProps } from '../types' import { MetricsProviderInternal, MetricsConsumer } from '@kong-ui-public/analytics-metric-provider' import { computed, type Ref } from 'vue' import { GranularityKeys, Timeframe, TimePeriods } from '@kong-ui-public/analytics-utilities' +import { DEFAULT_TILE_REFRESH_INTERVAL_MS } from '../constants' // Unlike AnalyticsChart, the metric card package doesn't currently expose its options // in a convenient interface. @@ -53,7 +54,7 @@ const options = computed(() => ({ longCardTitles: props.chartOptions.longCardTitles, description: props.chartOptions.description, hasTrendAccess: true, - refreshInterval: 0, + refreshInterval: props.context.refreshInterval ?? DEFAULT_TILE_REFRESH_INTERVAL_MS, }))