fix(core): remove duplicate session_id in GCP log exporter (#12370)

This commit is contained in:
Jerop Kipruto
2025-10-31 10:42:13 -04:00
committed by GitHub
parent 6f69cdcc31
commit 9da3cb7e43
2 changed files with 1 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ describe('GCP Exporters', () => {
}),
expect.objectContaining({
message: 'Test log message',
session_id: 'test-session',
'session.id': 'test-session',
'custom.attribute': 'value',
'service.name': 'test-service',
}),

View File

@@ -71,7 +71,6 @@ export class GcpLogExporter implements LogRecordExporter {
},
},
{
session_id: log.attributes?.['session.id'],
...log.attributes,
...log.resource?.attributes,
message: log.body,