Skip to content

Commit 37ad47a

Browse files
author
Roman Wu
committed
fix(tracing): include groupId in trace export log message
1 parent 8cf5356 commit 37ad47a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/agents-core/src/tracing/processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class ConsoleSpanExporter implements TracingExporter {
7676
for (const item of items) {
7777
if (item.type === 'trace') {
7878
console.log(
79-
`[Exporter] Export trace traceId=${item.traceId} name=${item.name}`,
79+
`[Exporter] Export trace traceId=${item.traceId} name=${item.name}${item.groupId ? ` groupId=${item.groupId}` : ''}`,
8080
);
8181
} else {
8282
console.log(`[Exporter] Export span: ${JSON.stringify(item)}`);

0 commit comments

Comments
 (0)