BuckyClient is a HubSpot-provided JavaScript client that runs in the browser and collects performance data from clients, sending it to the Bucky server, which forwards metrics to endpoints like StatsD, Graphite, or OpenTSDB. It can automatically measure how long your pages take to load, how long AJAX requests take and how long various functions take to run. Most importantly, it's taking the measurements on actual page loads, so the data has the potential to be much more valuable than in vitro measurements. Modern browsers log a bunch of page performance data, Bucky includes a method for writing all of this in one go. It won't do anything on browsers that don't support the performance.timing API. Call it whenever; it will bind an event if the data isn't ready yet.
Features
- Captures performance metrics directly from browser/client environments
- Transmits data to a Bucky server for aggregation
- Enables integration with monitoring backends (StatsD, Graphite, OpenTSDB)
- Designed to work smoothly in browser-based environments
- Likely usable with bundlers like Browserify (noting limitations with process.hrtime)
- Intended for use with Node.js-based hosting environments like Heroku or Nodejitsu