README.md in l2meter-0.0.5 vs README.md in l2meter-0.0.6

- old
+ new

@@ -91,30 +91,30 @@ ```ruby metrics.count :user_registered # => count#user-registered=1 metrics.count :registered_users, 10 # => count#registered-users=10 -metrics.measure :connection_count, 20, # => measure#connection-count=235 +metrics.measure :connection_count, 20 # => measure#connection-count=20 metrics.measure :db_query, 235, unit: :ms, # => measure#db-query.ms=235 metrics.sample :connection_count, 20, # => sample#connection-count=235 metrics.sample :db_query, 235, unit: :ms, # => sample#db-query.ms=235 metrics.unique :user, "bob@example.com" # => unique#user=bob@example.com ``` ### Configuration -L2meter supports configurtion. Here's how you cna configure things: +L2meter supports configuration. Here's how you can configure things: ```ruby metrics = L2meter.build do |config| - # configuration happen here + # configuration happens here end ``` -These are available configuration: +Here's the list of all configurable things: #### Global context Global context works similary to context method, but globally: @@ -167,9 +167,10 @@ config.prefix = "my-app" # ... metrics.count :users, 100500 # => count#my-app.users=100500 +``` ## Silence There's a way to temporary silence the log emitter. This might be userful for tests for example.