apex / apex/up

Errors are reported in many lines

Đang mở
#830 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
8.8k
Fork
383
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.