spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
56.25k stars 37.98k forks source link

Support the "Server-Timing" Header #21573

Closed spring-projects-issues closed 8 months ago

spring-projects-issues commented 6 years ago

sja opened SPR-17035 and commented

It would be really great, if the {Server-Timing}-Header would be supported. Either as part of the Spring Boot Devtools or as Part of MVC?

This may be implemented as Servlet Interceptor and gives Web-Debug tools like the Chrome Devtools or Firefox Developer Tools the chance to display something like persistence query times, Disk-I/O-wait and such.

Maybe some numbers are already present beacause of Spring's metrics support.


Reference URL: https://www.w3.org/TR/server-timing/

jconnolly commented 3 years ago

Has anyone looked at https://github.com/sercasti/spring-httpserver-timings ? I've been using it with some modification to actually aggregate metrics within a request context with some success.

rstoyanchev commented 3 years ago

Thanks for the pointers. There is an issue in the Boot backlog https://github.com/spring-projects/spring-boot/issues/8736 so I've added this to ours until it's more clear what is required where.

bclozel commented 8 months ago

Since the introduction of the Observation API usage in Framework itself, we don't believe additional support in Spring Framework is required.