From 17dcf7f3a35b025ddfc22c2a6ffc1349a44ff203 Mon Sep 17 00:00:00 2001 From: Matthew Goslett Date: Thu, 27 Jul 2017 14:28:24 +0200 Subject: [PATCH] fix typo in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3cf6915..63c2ceb 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ $histogram = $exporter->registerHistogram( ); // the buckets must be in asc order // if buckets aren't specified, the default 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1.0, 2.5, 5.0, 7.5, 10.0 buckets will be used -$histogram->obeserve(5.0); +$histogram->observe(5.0); // create a histogram (with labels) $histogram = $exporter->registerHistogram( @@ -166,7 +166,7 @@ $histogram = $exporter->registerHistogram( ); // the buckets must be in asc order // if buckets aren't specified, the default 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1.0, 2.5, 5.0, 7.5, 10.0 buckets will be used -$histogram->obeserve(5.0, ['GET']); +$histogram->observe(5.0, ['GET']); // retrieve a histogram $counter = $exporter->getHistogram('response_time_seconds');