DataDog / serilog-sinks-datadog-logs

Serilog Sink that sends log events to Datadog https://www.datadoghq.com/
Apache License 2.0
60 stars 41 forks source link

Upgrade to Serilog 4 with built-in batching support #115

Open khavish-bhundoo-cko opened 2 months ago

khavish-bhundoo-cko commented 2 months ago

Serilog supports native batching with no dependency on Serilog.Sinks.PeriodicBatching. It uses channels and will be easier to upgrade in the future and also benefit from performance improvements.

https://github.com/serilog/serilog/releases/tag/v4.0.0

Is there a plan to use native batching?

remeh commented 2 months ago

Hey @khavish-bhundoo-cko, thanks for your message.

Currently there is no plan to use native batching, but it doesn't mean we won't do it: I'm adding this as a feature-request on our end.

It uses channels and will be easier to upgrade in the future and also benefit from performance improvements.

Would you know if, theoretically, it would already brings performance improvements or if it's most than it will be better supported in the future and performance improvements will most likely happen?