File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ export class SpanPresenter extends BasePresenter {
460
460
eventStore ,
461
461
environmentId ,
462
462
spanId ,
463
- environmentId ,
463
+ traceId ,
464
464
createdAt ,
465
465
completedAt ?? undefined ,
466
466
{ includeDebugLogs : true }
Original file line number Diff line number Diff line change 9
9
flattenAttributes ,
10
10
isExceptionSpanEvent ,
11
11
nanosecondsToMilliseconds ,
12
- omit ,
13
12
PRIMARY_VARIANT ,
14
13
SemanticInternalAttributes ,
15
14
SpanEvent ,
@@ -42,10 +41,10 @@ import {
42
41
generateTraceId ,
43
42
getDateFromNanoseconds ,
44
43
getNowInNanoseconds ,
44
+ isEmptyObject ,
45
45
parseEventsField ,
46
- stripAttributePrefix ,
47
46
removePrivateProperties ,
48
- isEmptyObject ,
47
+ stripAttributePrefix ,
49
48
} from "./common.server" ;
50
49
import type {
51
50
CompleteableTaskRun ,
@@ -60,7 +59,6 @@ import type {
60
59
SpanDetail ,
61
60
SpanDetailedSummary ,
62
61
SpanSummary ,
63
- TaskEventRecord ,
64
62
TraceAttributes ,
65
63
TraceDetailedSummary ,
66
64
TraceEventOptions ,
@@ -824,13 +822,14 @@ export class EventRepository implements IEventRepository {
824
822
) : Promise < string | undefined > {
825
823
return await startActiveSpan ( "getSpanOriginalRunId" , async ( s ) => {
826
824
return await originalRunIdCache . swr ( traceId , spanId , async ( ) => {
827
- const spanEvent = await this . #getSpanEvent(
825
+ const spanEvent = await this . #getSpanEvent( {
828
826
storeTable,
829
827
spanId,
828
+ environmentId,
830
829
startCreatedAt,
831
830
endCreatedAt,
832
- { includeDebugLogs : false }
833
- ) ;
831
+ options : { includeDebugLogs : false } ,
832
+ } ) ;
834
833
835
834
if ( ! spanEvent ) {
836
835
return ;
You can’t perform that action at this time.
0 commit comments