You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v9 is a ground-up rewrite of the sink on Serilog 4.x native batching, with a streaming serialization pipeline. On the common workload it allocates ~55× less and runs ~4.5× faster than v8 - see Benchmarks.
Removed the ILokiHttpClient hierarchy (LokiHttpClient, LokiGzipHttpClient) - inject a standard HttpClient or HttpMessageHandler; gzip is a DelegatingHandler concern
Fatal is rendered as fatal (was critical) - update dashboards/alerts
Properties promoted via propertiesAsLabels are also kept in the log body; reserved body keys are prefixed with _
uri and tenant are validated at startup (throw ArgumentException)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 The reasons behind v9 - a ground-up rewrite
v9 is a ground-up rewrite of the sink on Serilog 4.x native batching, with a streaming serialization pipeline. On the common workload it allocates ~55× less and runs ~4.5× faster than v8 - see Benchmarks.
Implemented:
ILokiExceptionFormatterFixed:
Serilog.Events.LogEventinLokiBatchFormatteris not thread-safeBreaking changes:
net8.0,net9.0,net10.0(all earlier TFMs are EOL); requires Serilog4.3.1+;FSharp.Corebecomes a transitive dependencybatchPostingLimit→batchSizeLimit;queueLimitis now bounded by default (50 000)IReservedPropertyRenamingStrategy/reservedPropertyRenamingStrategy,useInternalTimestamp,leavePropertiesIntactILokiHttpClienthierarchy (LokiHttpClient,LokiGzipHttpClient) - inject a standardHttpClientorHttpMessageHandler; gzip is aDelegatingHandlerconcernFatalis rendered asfatal(wascritical) - update dashboards/alertspropertiesAsLabelsare also kept in the log body; reserved body keys are prefixed with_uriandtenantare validated at startup (throwArgumentException)📚 Before upgrading, please read Upgrading from v8 to v9 and Breaking changes.
Full Changelog: v8.3.2...v9.0.0
This discussion was created from the release v9.0.0.
Beta Was this translation helpful? Give feedback.
All reactions