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

Dropping trace reason: invalid span #713

Closed
alicederyn opened this issue Feb 15, 2019 · 1 comment
Closed

Dropping trace reason: invalid span #713

alicederyn opened this issue Feb 15, 2019 · 1 comment

Comments

@alicederyn
Copy link

alicederyn commented Feb 15, 2019

I am attempting to enable Java log extraction using logstash-logback-encoder 5.3, as per the DD SLF4j log collection recommendation, hooked into DropWizard with code derived from alphagov/dropwizard-logstash, but have been getting errors from the DataDog agent (6.5.2):

2019-02-15 10:11:00 ERROR (receiver.go:249) - dropping trace reason: invalid span (SpanID:7825268426873700594): span.normalize: empty `Resource` (debug for more info), [service:"celery-producer" name:"celery.apply" resource:"underwriter.tasks.send_emails" traceID:6158656447690087821 spanID:7922240380175914865 start:1550225460008454144 duration:5079269 meta:<key:"celery.action" value:"apply_async" > meta:<key:"celery.id" value:"d428fbdd-2f73-4135-a6e2-c1b36a526697" > meta:<key:"celery.routing_key" value:"rats-develop-email" > meta:<key:"system.pid" value:"71" > metrics:<key:"_sampling_priority_v1" value:1 > service:"kombu" name:"kombu.publish" traceID:6158656447690087821 spanID:7825268426873700594 parentID:7922240380175914865 start:1550225460008607232 duration:4864931 meta:<key:"kombu.exchange" value:"" > meta:<key:"kombu.routing_key" value:"rats-develop-email" > metrics:<key:"kombu.body_length" value:77 > type:"kombu" ]

It looks like I may not be the only one experiencing this issue: DataDog/datadog-agent#2925

Am I doing something wrong? Is there something I can do in my code to easily fix this?

Thanks,
Alice

@alicederyn
Copy link
Author

I think this comes down to me forgetting what year it is now 😳 My apologies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant