Correlating Logrus Logs and Trace IDs in Datadog
2 min readMay 3, 2023
Because their docs are just so lame right now
Recently I went to the Datadog docs to see how I could get my logs and traces nicely lined up. We use logrus, so I thought it’d be really easy to get set up, but the docs are just so dang sparse.
It’s basically “manually print the span into your log message.” Yeah no that totally sucks.