Skip to content

Commit

Permalink
Merge pull request #161 from justeat/fix-readme-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
martincostello authored Jan 21, 2019
2 parents 756ad04 + 66b7926 commit b100bdd
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 @@ -113,7 +113,7 @@ services.AddStatsD(
Host = options.HostName,
Port = options.Port,
Prefix = options.Prefix,
SocketProtocol = SocketProtocol.Ip,
SocketProtocol = SocketProtocol.IP,
OnError = ex => LogError(ex)
};
});
Expand Down Expand Up @@ -153,7 +153,7 @@ Bind<IStatsDPublisher>().To<StatsDPublisher>().InSingletonScope();
| Port | `int` | `8125` | The StatsD port. |
| DnsLookupInterval | `TimeSpan?` | `5 minutes` | Length of time to cache the host name to IP address lookup. Only used when "Host" contains a host name. |
| Prefix | `string` | `string.Empty` | Prepend a prefix to all stats.
| SocketProtocol | `SocketProtocol`, one of `Udp`, `Ip`| `Udp` | Type of socket to use when sending stats to the server. |
| SocketProtocol | `SocketProtocol`, one of `Udp`, `IP`| `Udp` | Type of socket to use when sending stats to the server. |
| OnError | `Func<Exception, bool>` | `null` | Function to receive notification of any exceptions. |

`OnError` is a function to receive notification of any errors that occur when trying to publish a metric. This function should return:
Expand Down

0 comments on commit b100bdd

Please sign in to comment.