Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trace.id Log Property is Always Empty String #182

Open
timothymathison opened this issue Dec 20, 2023 · 1 comment
Open

trace.id Log Property is Always Empty String #182

timothymathison opened this issue Dec 20, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@timothymathison
Copy link

Description

All of our lambda logs have the trace.id property set to any empty string instead of the actual trace ID.

Steps to Reproduce

Use the node newrelic lambda layer to lambda layer and ship logs to newrelic.

Expected Behavior

Logs should contain trace.id property that actually contains the ID of the corresponding trace.

Your Environment

Node v18
Lambda layer version: NewRelicNodeJS18X:48

Additional context

I noticed this comment in the code:

// There is a race condition here. Telemetry batch may be late, so the trace

I'm wondering if that's the source of the problem. Is there a workaround or way to fix this?

@timothymathison timothymathison added the bug Something isn't working label Dec 20, 2023
@chaudharysaket chaudharysaket self-assigned this Oct 15, 2024
@workato-integration
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants