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
Which version of Serilog.Sinks.Grafana.Loki are you using?
v8.1.0
Which version of .NET are you using?
net7.0
Describe the bug
.net 7.0 and later provides a .Microsecond and .Nanosecond fields for the DateTimeOffset class. Existing code ignoring such precision and send only milliseconds.
This will cause the log line strings to be in disorder.
To Reproduce
Send a several log records during a single millisecond
Expected behavior
Respect microsecond and nanosecond part of datetime object.
Log/SelfLog output or exception with stacktrace
No response
Application or code sample, which could be used to reproduce a bug
Which version of Serilog.Sinks.Grafana.Loki are you using?
v8.1.0
Which version of .NET are you using?
net7.0
Describe the bug
.net 7.0 and later provides a .Microsecond and .Nanosecond fields for the DateTimeOffset class. Existing code ignoring such precision and send only milliseconds.
This will cause the log line strings to be in disorder.
To Reproduce
Send a several log records during a single millisecond
Expected behavior
Respect microsecond and nanosecond part of datetime object.
Log/SelfLog output or exception with stacktrace
No response
Application or code sample, which could be used to reproduce a bug
No response
Additional context
No response
I have read the documentation
The text was updated successfully, but these errors were encountered: