Sha256: 52ca5b319c63a049cfc03182f17f261b164896c2a042077a7bc0e75ff4df69e0
Contents?: true
Size: 818 Bytes
Versions: 1
Compression:
Stored size: 818 Bytes
Contents
= Instrumental Agent Instrument anything. == Setup Add the gem to your Gemfile. gem 'instrumental-agent' Head over to instrumentalapp.com and setup an account, then initialize the agent. I = Instrumental::Agent.new('YOUR_API_KEY') # or, if you're using eventmachine already I = Instrumental::Agent.new('YOUR_API_KEY', :start_reactor => false) Now you can begin to use instrumental to track your application I.gauge('load', 1.23) I.increment('signups') Data without historical context sucks, so Instrumental lets you backfill data to. Letting you see deep into your past. User.find_each do |user| I.increment('signups', 1, user.created_at) end Running under Rails? You can also give our experimental rack middleware a shot by initializing it with: Instrumental::Middleware.boot
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
instrumental_agent-0.1.0 | README.rdoc |