newrelic / node-newrelic

New Relic Node.js agent code base. Developers are welcome to create pull requests here, please see our contributing guidelines. For New Relic technical support, please go to http://support.newrelic.com.
Apache License 2.0
970 stars 399 forks source link

Support for Server-Timing header #1341

Open villelahdenvuo opened 2 years ago

villelahdenvuo commented 2 years ago

Is your feature request related to a problem? Please describe.

I want to implement https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing for my app

Feature Description

The New Relic agent already collects performance information for different segments in my app, thus it should be easy to add an option to the agent to inject the Server-Timing header(s) automatically.

Describe Alternatives

I can add the header myself, but that means I have to instrument all my code manually where as the NR agent already does it for me.

Additional context

Express middleware https://www.npmjs.com/package/server-timing

Priority

Really Want

bizob2828 commented 2 years ago

Thanks @villelahdenvuo for the feature request. I will talk with our product manager to get this prioritized(cc/ @vrsnr)

kmudduluru commented 3 months ago

triaged

workato-integration[bot] commented 3 months ago

https://new-relic.atlassian.net/browse/NR-292139