apex / apex/up

Errors are reported in many lines

オープン
#830 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
8.8k
フォーク
383
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。