Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Commit 17dcf7f

Browse files
fix typo in readme
1 parent 7bfa14a commit 17dcf7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ $histogram = $exporter->registerHistogram(
155155
);
156156
// the buckets must be in asc order
157157
// 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
158-
$histogram->obeserve(5.0);
158+
$histogram->observe(5.0);
159159

160160
// create a histogram (with labels)
161161
$histogram = $exporter->registerHistogram(
@@ -166,7 +166,7 @@ $histogram = $exporter->registerHistogram(
166166
);
167167
// the buckets must be in asc order
168168
// 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
169-
$histogram->obeserve(5.0, ['GET']);
169+
$histogram->observe(5.0, ['GET']);
170170

171171
// retrieve a histogram
172172
$counter = $exporter->getHistogram('response_time_seconds');

0 commit comments

Comments
 (0)