apex / apex/up

Errors are reported in many lines

Abierto
#830 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
8.8k
Forks
383
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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/

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.