tenderlove / the_metal

A spike for thoughts about Rack 2.0
518 stars 27 forks source link

Improved hooking points for instrumentors #4

Closed jasonrclark closed 6 years ago

jasonrclark commented 10 years ago

Maybe a bit early, but given my day job instrumenting all the things, was curious how things would look in :metal: land.

Rack instrumentation that we added recently at New Relic had the hardest time during startup, so I'm happy to see life looks much better here. This PR smooths over two points that could make my life even easier during startup:

It seems like if we could get in at this point in time, getting instrumentation on all the other parts (events, filters, the app itself) is just a matter of dealing properly with each supported form of app that can get passed in.