up icon indicating copy to clipboard operation
up copied to clipboard

Errors are reported in many lines

Open jbastias opened this issue 5 years ago • 0 comments

Prerequisites

  • [X] I am running the latest version. (up upgrade)
  • [X] I searched to see if the issue already exists.
  • [ ] I inspected the verbose debug output with the -v, --verbose flag.
  • [X] Are you an Up Pro subscriber?

Description

We are using Up in 3 production systems; we are very happy... however, we ran into an issue or rather an inconvenience. We began using DataDog a couple of months ago. We are sending our cloudwatch logs to DataDog. One thing we noticed is that the error logs have multiple lines reported for one error.

For instance, on the patterns page in DataDog, I have an error that begins with "Patch rejected Error..." but you also see a bunch of error lines that begin with "at..." (see below).

You can see (Corresponding AWS Cloudwatch logs) that the "Patch rejected Error..." in one one line and the next line begins the stack trace " at t(/var/task/...".

Our question is, if there's a way to report errors as one error entry instead of reporting the error in multiple lines as we are seeing now.

Steps to Reproduce

DataDog - Error Patterns: image

DataDog - Error List: image

DataDog - Error Detail: image

DataDog - Error in Context: image

Corresponding AWS Cloudwatch logs: image

Slack

Join us on Slack https://chat.apex.sh/

jbastias avatar Aug 17 '21 18:08 jbastias