Azure / Azure/data-api-builder
Expose Header Information in App Console Logs
- Vorherrschende Sprache
- C#
- Sterne
- 1.5k
- Forks
- 370
- Ø Merge
- 3 T. 17 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
### 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
Beitragsleitfaden
Rechercherichtung
Beginne damit, den Einstiegspunkt für die Protokollierung von REST- und GraphQL-Anfragen in der App Console zu finden, und untersuche anschließend, wie die vorhandenen Statuscodes und Dauern ausgegeben werden. Als abgeschlossen gilt die Aufgabe, wenn die relevanten Anfrage-Header im App-Console-Log verfügbar sind, sodass Anfragen dienstübergreifend über Azure hinweg korreliert werden können; validiere die Ausgabe mit einer Anfrage wie dem gemeldeten GraphQL POST.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, csharp, graphql, sql
- Bereich
- api, cloud, databases, observability
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100