Skip to content

Commit 4b6897e

Browse files
committed
Removed the filepath and export name from attempt spans
1 parent 057020b commit 4b6897e

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.changeset/fast-ladybugs-eat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/core": patch
3+
---
4+
5+
Removed the folder/filepath from Attempt spans

packages/core/src/v3/workers/taskExecutor.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,6 @@ export class TaskExecutor {
202202
kind: SpanKind.CONSUMER,
203203
attributes: {
204204
[SemanticInternalAttributes.STYLE_ICON]: "attempt",
205-
...accessoryAttributes({
206-
items: [
207-
{
208-
text: ctx.task.filePath,
209-
},
210-
{
211-
text: `${ctx.task.exportName}.run()`,
212-
},
213-
],
214-
style: "codepath",
215-
}),
216205
},
217206
},
218207
this._tracer.extractContext(traceContext)

0 commit comments

Comments
 (0)