import {CHART_PALETTE} from 'sentry/constants/chartPalette'; import {t} from 'sentry/locale'; import {CHART_HEIGHT} from 'sentry/views/performance/database/settings'; import {useQueuesTimeSeriesQuery} from 'sentry/views/performance/queues/queries/useQueuesTimeSeriesQuery'; import type {Referrer} from 'sentry/views/performance/queues/referrers'; import Chart, {ChartType} from 'sentry/views/starfish/components/chart'; import ChartPanel from 'sentry/views/starfish/components/chartPanel'; interface Props { referrer: Referrer; destination?: string; error?: Error | null; } export function LatencyChart({error, destination, referrer}: Props) { const {data, isLoading} = useQueuesTimeSeriesQuery({destination, referrer}); return ( ); }