|
@@ -14,6 +14,7 @@ import Chart, {useSynchronizeCharts} from 'sentry/views/starfish/components/char
|
|
|
import ChartPanel from 'sentry/views/starfish/components/chartPanel';
|
|
|
import {ModuleName, SpanMetricsFields} from 'sentry/views/starfish/types';
|
|
|
import formatThroughput from 'sentry/views/starfish/utils/chartValueFormatters/formatThroughput';
|
|
|
+import {STARFISH_CHART_INTERVAL_FIDELITY} from 'sentry/views/starfish/utils/constants';
|
|
|
import {useChartSortPageBySpansHandler} from 'sentry/views/starfish/utils/useChartSortPageBySpansHandler';
|
|
|
import {useSpansQuery} from 'sentry/views/starfish/utils/useSpansQuery';
|
|
|
import {useErrorRateQuery as useErrorCountQuery} from 'sentry/views/starfish/views/spans/queries';
|
|
@@ -251,7 +252,7 @@ const getEventView = (
|
|
|
yAxis: ['sps()', `p50(${SPAN_SELF_TIME})`, `p95(${SPAN_SELF_TIME})`],
|
|
|
query,
|
|
|
dataset: DiscoverDatasets.SPANS_METRICS,
|
|
|
- interval: getInterval(pageFilters.datetime, 'metrics'),
|
|
|
+ interval: getInterval(pageFilters.datetime, STARFISH_CHART_INTERVAL_FIDELITY),
|
|
|
version: 2,
|
|
|
},
|
|
|
location
|