Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagonal committed Mar 17, 2021
1 parent 2b02153 commit 4a9a604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ server.track('number-of-logins', 132, { login-method: 'HTTP' }, { loginTypes: {
The _server.track_ method is the main way you interface with hapi-micro-metrics. The parameters are:

```
_server.track(<metric-name>, <metric-value>, <tags>, <data>);
_server.track(<metric-name>, <metric-value>, <tags>, <data>)
```

where:
Expand Down Expand Up @@ -58,7 +58,7 @@ Another way to use hapi-micro-metrics is _log tracking_. This means that you sp
await server.register({
plugin: require('hapi-micro-metrics'),
options: {
host: 'http://localhost:8080',
host: 'http://my-metrics.org',
logTrack: [{
metricType: 'requests-per-minute',
value: 1,
Expand Down

0 comments on commit 4a9a604

Please sign in to comment.