forked from spring-projects/spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write TraceResponse HTTP observability header
Prior to this commit, we added support for the "X-Trace-Id" HTTP response header in spring-projectsgh-40857. This wrote the traceId information for MVC applications, if the `management.observations.http.server.requests.write-trace-header` was set. After receiving feedback from the community, we are revisiting this feature with the following changes: * the header is now "traceresponse" and implements the W3C draft standard, see https://w3c.github.io/trace-context/#trace-context-http-response-headers-format * the property is now "management.observations.http.server.requests.write-traceresponse" * both MVC and WebFlux are now supported Closes spring-projectsgh-44431
- Loading branch information
Showing
15 changed files
with
430 additions
and
114 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 0 additions & 77 deletions
77
...work/boot/actuate/autoconfigure/observation/web/servlet/TraceHeaderObservationFilter.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.