Skip to content

Commit

Permalink
Slightly better English
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Gould committed Jul 18, 2011
1 parent 5e1e20a commit 027a422
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Expand Up @@ -294,14 +294,12 @@ The commands are:

- If the `period` query parameter is specified (e.g. `/stats.json?period=10`),
a StatsListener is acquired for that time period, and all requests with this
period value will receive the same stats values throughout a single time
period.
period value will receive the same stats values throughout that period.
- Otherwise, if the `namespace` argument is provided (e.g. `/stats.json?namespace=ganglia`),
a StatsListener is acquired for that namespace, and each request with this
namespace value will reset the stats listener, effectively returning the
delta since any prior request with that namespace.
listener for the given name. (See `src/scripts/json_stats_fetcher.rb` for
an example.)
delta since the prior request with that namespace. (See
`src/scripts/json_stats_fetcher.rb` for an example.)
- If neither `period` nor `namespace` parameters are specified, the main stats
object will be fetched, returning non-differerential counters and metrics
over the life-time of the process.
Expand Down

0 comments on commit 027a422

Please sign in to comment.