Metrics Driven Development?

Jeffery Smith
Jul 21, 2016 · 2 min read
expected application to emit http.status.200 metricexpected application to emit metricexpected application to emit http.response.time metric
describe “http call”  context “valid response”    subject { metrics.retrieve_all }    before(:each)      get :index {}    end    it { expect(subject).to have_metric(http.status.200)}    it { expect(subject).to have_metric(http.response.time)}  endend

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade