Skip to content

Commit

Permalink
Merge pull request #175 from DerGut/congestion-error
Browse files Browse the repository at this point in the history
Add "Congestion error" section to README
  • Loading branch information
bdeitte authored Jul 14, 2020
2 parents 44ed840 + 2c85a6e commit 08c0d26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,13 @@ var client = new StatsD({
})
```

### Congestion error

If you get an error like `Error sending hot-shots message: Error: congestion` with an error code of `1`,
it is probably because you are sending large volumes of metrics to a single agent/ server.
This error only arises when using the UDS protocol and means that packages are being dropped.
Take a look at the [Datadog docs](https://docs.datadoghq.com/developers/dogstatsd/high_throughput/?#over-uds-unix-domain-socket) for some tips on tuning your connection.

## Unix domain socket support

The 'uds' option as the protocol is to support [Unix Domain Sockets for Datadog](https://docs.datadoghq.com/developers/dogstatsd/unix_socket/). It has the following limitations:
Expand Down

0 comments on commit 08c0d26

Please sign in to comment.