- Better payload fragmentation to avoid creating payload even slightly bigger than 5MB.
- Disable
keep-alive
inHttpClient
. - Bump dependency on Serilog.Sinks.PeriodicBatching to 3.1.0.
- Renamed
logLevel
torestrictedMinimumLogLevel
in LoggerConfiguration to be consistent with the serilog recommendation. Thanks @tsackey. - Makes the number of retries configurable before the
IDataDogClient
gives up logging by adding a new DataDogConfiguration.MaxRetries property. Thanks @dmitrynovik.
- Improve the exception thrown when a request fails or retry times out. Thanks @cdhunt
- Allow using custom HttpClient and Url. Thanks @tomasz-soltysik
- Split logs larger than the max message size
- Make max message size configurable
- Raise max payload size to
5MB
- Add support for custom
ITextFormatter
.
- Update Serilog.Sinks.PeriodicBatching to
3.0.0
. Thanks @dominikus1993
- Bump Newtonsoft.Json to
13.0.1
- Remove unused UTF8 property #66. Thanks @jnyrup
- Support Datadog V2 intake API
- .NET 5 and .NET 6 support #68. Thanks @AndrewMD5
- Remove remaining traces of net6.0 #72. Thanks @jnyrup
- Handle TCP disconnection leading to missing logs #64. Thanks @lokalan.
- Add more net framework targets to solve incompatibility issues with NuGet version resolving to "nearest" .net framework vs compiler targets
- Add a handler called when an exception occurs (#51).
- Minor refactoring (#42). Thanks @SychevIgor
- Allow batch size, period and queue limit to be set (#41). Thanks @benfoster.
- Remove excessive selflog
- Cleanup dependencies
- HTTP is now the default sending method for logs (#24). This is a breaking change for
users that were using a custom endpoint. TCP client can still be used by adding the
useTCP: true
in theDatadogConfiguration
object.
- Strong named the assembly (#22)
- Allow configuration from
appsettings.json
file (#11)
- Change severity field from "Level" to "level" (#15)
- Bug fix: Make sure the socket gets reopen when an exception is triggered (#14)
- Enabled custom source, service, host and tags
- Created a Serilog Sink to forward logs to Datadog (#2)