diff --git a/static/app/views/performance/mobile/appStarts/screenSummary/spanOperationTable.tsx b/static/app/views/performance/mobile/appStarts/screenSummary/spanOperationTable.tsx index cd604644e5fe36..ea05667d9ee8b7 100644 --- a/static/app/views/performance/mobile/appStarts/screenSummary/spanOperationTable.tsx +++ b/static/app/views/performance/mobile/appStarts/screenSummary/spanOperationTable.tsx @@ -10,6 +10,7 @@ import type {CursorHandler} from 'sentry/components/pagination'; import Pagination from 'sentry/components/pagination'; import {t} from 'sentry/locale'; import type {NewQuery} from 'sentry/types/organization'; +import {trackAnalytics} from 'sentry/utils/analytics'; import {browserHistory} from 'sentry/utils/browserHistory'; import type {TableDataRow} from 'sentry/utils/discover/discoverQuery'; import type {MetaType} from 'sentry/utils/discover/eventView'; @@ -37,7 +38,7 @@ import { } from 'sentry/views/starfish/components/releaseSelector'; import {PercentChangeCell} from 'sentry/views/starfish/components/tableCells/percentChangeCell'; import {OverflowEllipsisTextContainer} from 'sentry/views/starfish/components/textAlign'; -import {SpanMetricsField} from 'sentry/views/starfish/types'; +import {ModuleName, SpanMetricsField} from 'sentry/views/starfish/types'; import {STARFISH_CHART_INTERVAL_FIDELITY} from 'sentry/views/starfish/utils/constants'; import {appendReleaseFilters} from 'sentry/views/starfish/utils/releaseComparison'; import {QueryParameterNames} from 'sentry/views/starfish/views/queryParameters'; @@ -159,7 +160,15 @@ export function SpanOperationTable({ }; return ( - + + trackAnalytics('performance_views.sample_spans.opened', { + organization, + source: ModuleName.APP_START, + }) + } + to={`${pathname}?${qs.stringify(query)}`} + > {label} );