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
We observed that whenever OTEL pod scales up we start seeing few logs with incomplete metadata (labels, host). Expected
Actual
As we can see there are no labels & host present in Kuberenetes block
During scaling phase as OTEL pod doesn't have metadata from k8s API in its cache it sends logs without setting few metadata fields.
This behaviour is valid for short-lived pods but not appropriate for running pods.
Is this Kubernetes problem or this can be fixed in OTEL?
The text was updated successfully, but these errors were encountered:
Since this only happens for new otel Pods, I have a suspicion that it's because the k8sprocessor processed data without first having populated its Pod cache completely. As I suggested on Slack, can you try adding a delay to the otel container (for example via initialDelaySeconds in the readiness probe) and see if that helps?
If this is the case, we can consider explicitly waiting for caches to sync while starting the processor.
We observed that whenever OTEL pod scales up we start seeing few logs with incomplete metadata (labels, host).
Expected
Actual
As we can see there are no labels & host present in Kuberenetes block
During scaling phase as OTEL pod doesn't have metadata from k8s API in its cache it sends logs without setting few metadata fields.
This behaviour is valid for short-lived pods but not appropriate for running pods.
Is this Kubernetes problem or this can be fixed in OTEL?
The text was updated successfully, but these errors were encountered: