Skip to content

Commit cc8622c

Browse files
authored
docs: fix typo on code example (#84)
Signed-off-by: Mario-F <github@fritschen.net>
1 parent cb7ee99 commit cc8622c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ $histogram = $registry->getOrRegisterHistogram('test', 'some_histogram', 'it obs
4343
$histogram->observe(3.5, ['blue']);
4444

4545
$summary = $registry->getOrRegisterSummary('test', 'some_summary', 'it observes a sliding window', ['type'], 84600, [0.01, 0.05, 0.5, 0.95, 0.99]);
46-
$histogram->observe(5, ['blue']);
46+
$summary->observe(5, ['blue']);
4747
```
4848

4949
Manually register and retrieve metrics (these steps are combined in the `getOrRegister...` methods):

0 commit comments

Comments
 (0)