Skip to content
This repository
Browse code

Add example of aggregator output in README.

  • Loading branch information...
commit ce94f0c50230a7f1299c761c501d0128129093ce 1 parent 5589081
Matt Sanders nextmat authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 README.md
4 README.md
Source Rendered
@@ -78,6 +78,10 @@ Aggregate a simple gauge metric named `response_latency`:
78 78 aggregator.add :response_latency => 90.1
79 79 aggregator.add :response_latency => 92.0
80 80
  81 +Which would result in a gauge measurement like:
  82 +
  83 + {:name => "response_latency", :count => 5, :sum => 517.8, :min => 85.0, :max => 150.2}
  84 +
81 85 You can specify a source during aggregate construction:
82 86
83 87 aggregator = Librato::Metrics::Aggregator.new(:source => 'foobar')

0 comments on commit ce94f0c

Please sign in to comment.
Something went wrong with that request. Please try again.