Azure / Azure/data-api-builder

Expose Header Information in App Console Logs

オープン
#2,168 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement triage
主要言語
C#
スター
1.5k
フォーク
370
平均マージ
3日 22時間
マージ済み PR(30日)
9

説明

### What happened?

Feature request. I can track a given request through Azure Front Door and API Manager in LogAnalytics by the headers they each pass to each other. The "last mile" is the container app running DAB, but I can't correlate the requests to anything going on in the App Console Log. Would love to be able to see the headers in AppConsole log so I can track the response codes and durations throughout the entire path of a request.

### Version

0.7.6

### What database are you using?

Azure SQL

### What hosting model are you using?

Container Apps

### Which API approach are you accessing DAB through?

REST, GraphQL

### Relevant log output

```Text
Request finished HTTP/1.1 POST http://[redacted]/graphql application/json 104 - 200 - application/json;+charset=utf-8 1.9551ms
```

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

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

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

調査の方向性

まず、App Console における REST および GraphQL リクエストのリクエストロギングのエントリポイントを特定し、既存のステータスコードと所要時間がどのように出力されているかを確認します。関連するリクエストヘッダーが App Console のログで利用でき、Azure サービス間でリクエストを関連付けられる状態を完了の定義とします。報告されている GraphQL POST のようなリクエストで出力を検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, csharp, graphql, sql
領域
api, cloud, databases, observability
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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