@@ -71,7 +71,7 @@ const BASE_FIELDS: SpanProperty[] = [
7171 'spans.ui' ,
7272] ;
7373
74- type OverviewSpansColumn = GridColumnHeader <
74+ type SampledEventsColumn = GridColumnHeader <
7575 | 'span_id'
7676 | 'user.display'
7777 | 'request.method'
@@ -83,7 +83,7 @@ type OverviewSpansColumn = GridColumnHeader<
8383 | typeof SPAN_OPS_BREAKDOWN_COLUMN_KEY
8484> ;
8585
86- const BASE_COLUMN_ORDER : OverviewSpansColumn [ ] = [
86+ const BASE_COLUMN_ORDER : SampledEventsColumn [ ] = [
8787 { key : 'span_id' , name : t ( 'Span ID' ) , width : COL_WIDTH_UNDEFINED } ,
8888 { key : 'user.display' , name : t ( 'User' ) , width : COL_WIDTH_UNDEFINED } ,
8989 { key : 'request.method' , name : t ( 'HTTP Method' ) , width : COL_WIDTH_UNDEFINED } ,
@@ -97,13 +97,13 @@ const BASE_COLUMN_ORDER: OverviewSpansColumn[] = [
9797 { key : 'timestamp' , name : t ( 'Timestamp' ) , width : COL_WIDTH_UNDEFINED } ,
9898] ;
9999
100- const REPLAY_COLUMN : OverviewSpansColumn = {
100+ const REPLAY_COLUMN : SampledEventsColumn = {
101101 key : 'replayId' ,
102102 name : t ( 'Replay' ) ,
103103 width : COL_WIDTH_UNDEFINED ,
104104} ;
105105
106- const PROFILE_COLUMN : OverviewSpansColumn = {
106+ const PROFILE_COLUMN : SampledEventsColumn = {
107107 key : 'profile.id' ,
108108 name : t ( 'Profile' ) ,
109109 width : COL_WIDTH_UNDEFINED ,
@@ -115,7 +115,7 @@ type Props = {
115115 maxDuration ?: number ;
116116} ;
117117
118- export function OverviewSpansTable ( { eventView, transactionName, maxDuration} : Props ) {
118+ export function SampledEventsTable ( { eventView, transactionName, maxDuration} : Props ) {
119119 const { selection} = usePageFilters ( ) ;
120120 const location = useLocation ( ) ;
121121 const { projects} = useProjects ( ) ;
@@ -133,7 +133,7 @@ export function OverviewSpansTable({eventView, transactionName, maxDuration}: Pr
133133
134134 const fields = showReplayColumn ? BASE_FIELDS . concat ( 'replayId' ) : BASE_FIELDS ;
135135
136- const columnOrder : OverviewSpansColumn [ ] = [
136+ const columnOrder : SampledEventsColumn [ ] = [
137137 ...BASE_COLUMN_ORDER ,
138138 ...( showReplayColumn ? [ REPLAY_COLUMN ] : [ ] ) ,
139139 PROFILE_COLUMN ,
@@ -259,7 +259,7 @@ export function OverviewSpansTable({eventView, transactionName, maxDuration}: Pr
259259}
260260
261261function renderBodyCell (
262- column : OverviewSpansColumn ,
262+ column : SampledEventsColumn ,
263263 row : Record < string , any > ,
264264 meta : EventsMetaType | undefined ,
265265 projectSlug : string | undefined ,
0 commit comments