Azure / Azure/data-api-builder
Expose Header Information in App Console Logs
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 370
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 9
Description
### 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
Contributor guide
Research direction
Start by locating the App Console request logging entry point for REST and GraphQL requests, then inspect how the existing status codes and durations are emitted. Define done as having the relevant request headers available in the App Console log so requests can be correlated across Azure services; validate the output with a request like the reported GraphQL POST.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, graphql, sql
- Domain
- api, cloud, databases, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100