Closed c0per closed 1 month ago
I've just encountered the same issue - traces work great, but the logs are silently ignored with the same error.
Experiencing the same issue as @spetz. Fingers crossed for https://github.com/quickwit-oss/quickwit/pull/5366
Describe the bug
Currently, quickwit is ignoring otel logs with a
null
(or0
)Timestamp
.Some instrumentation only set
ObservedTimestamp
and leaveTimestamp
null. Maybe we should default toObservedTimestamp
whenTimestamp
is not set.Steps to reproduce Use any Otel logs exporter which doesn't set the timestamp field. In my case, I'm using rust tracing +
opentelemetry-appender-tracing
.Expected behavior
Other people have encountered this problem using the same setup with the official otel collector (https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/11752#issuecomment-1895383712).
The official otel collector exporter use
ObservedTimestamp
whenTimestamp
is not set. The PR: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/31844Maybe Quickwit should also do this. Default to
ObservedTimestamp
whenTimestamp
is not set, instead of throwing away logs without a timestamp.