holidayextras / barometer

Framework agnostic browser performance metrics
MIT License
5 stars 5 forks source link

Split domains from paths in metrics #34

Closed theninj4 closed 7 years ago

theninj4 commented 7 years ago

This PR splits up our metrics to make dashboards easier to generate. Instead of www.example.com/carparks/upgrades, we should store www.example.com and carparks/upgrades as separate items in the metric namespace.

Before:

xhr.timing.post.www_example_com_foo.total
pageload.localhost_9876_context_html.unloadEventStart

After:

xhr.timing.post.www_example_com.foo.total
pageload.localhost_9876.context_html.unloadEventStart
hxgeorge commented 7 years ago

👍