apex / apex/up

Errors are reported in many lines

Aperta
#830 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
8.8k
Fork
383
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 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](https://user-images.githubusercontent.com/742739/129778609-50fb5f90-5b36-4ba6-9cd3-4f66b3c61571.png)

**DataDog - Error List:**
![image](https://user-images.githubusercontent.com/742739/129778671-56833d52-93d3-4a8a-afb3-2f4c6337d1a9.png)

**DataDog - Error Detail:**
![image](https://user-images.githubusercontent.com/742739/129778697-409dc954-9ce2-4edd-8632-84ff2c1b6abc.png)

**DataDog - Error in Context:**
![image](https://user-images.githubusercontent.com/742739/129778757-ceef587e-931b-4b3a-8f88-161c7a671ca1.png)

**Corresponding AWS Cloudwatch logs:**
![image](https://user-images.githubusercontent.com/742739/129778814-7e7bf879-323d-49af-b89f-b6f60d98612b.png)

## Slack

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.