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
Currently, the k8sobjects receiver is not setting the observed timestamp to the produced logs, and some platforms may not ingest data since the timestamp and observed timestamp are not present.
Steps to Reproduce
Configure the collector with the k8sobjects receiver.
Expected Result
Have the observed timestamp present on the log entry.
Actual Result
Log entry doesn't have value on the observed timestamp field.
### Additional context
Given the [Otel specification](https://opentelemetry.io/docs/reference/specification/logs/data-model) the `ObservedTimestamp` field SHOULD be set once the event is observed by OpenTelemetry, in case of external events collected by the collector this is the time when OpenTelemetry’s code observed the event measured by the clock of the OpenTelemetry code.
The text was updated successfully, but these errors were encountered:
Currently, the k8sobjects receiver is not setting the observed timestamp to the produced logs, and some platforms may not ingest data since the timestamp and observed timestamp are not present.
Some exporters may reject the logs without an associated timestamp.
Link to tracking Issue: #18700
Component(s)
receiver/k8sobjects
What happened?
Description
Currently, the k8sobjects receiver is not setting the observed timestamp to the produced logs, and some platforms may not ingest data since the timestamp and observed timestamp are not present.
Steps to Reproduce
Configure the collector with the k8sobjects receiver.
Expected Result
Have the observed timestamp present on the log entry.
Actual Result
Log entry doesn't have value on the observed timestamp field.
Collector version
v0.71.0
Environment information
Environment
OS: Ubuntu 20.04
Kubernetes: 1.23
Compiler(if manually compiled): N/A
OpenTelemetry Collector configuration
Log output
The text was updated successfully, but these errors were encountered: