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
pellared
changed the title
Print null for the zero-value timestamp in output of the stdout exporter
stdoutlog: Do not print timestamps when WithoutTimestamps is set
Apr 8, 2024
I am hesitant to implement this, as the data has been used in the stdoutmetric and stdouttrace is exported structure. Changing these structures would bring break changes.
The exporter is intended to be used for testing and debugging, it is not meant for production use. Additionally, it does not provide an interchange format for OpenTelemetry that is supported with any stability or compatibility guarantees.
I would not consider it breaking.
But I also to not have a strong opinion to have this issue addressed.
It would be good to have other opinions and maybe discuss it during SIG meeting.
Shouldn't these be
To nicely handle
WithoutTimestamps
?Here is why: https://go.dev/play/p/-a5jI4jOXSK
AFAIK this would be a different behaviour that we have forstdoutmetric
andstdouttrace
.We can handle it via a separate issue and PR as we may have different opinions.
Originally posted by @pellared in #5172 (comment)
The text was updated successfully, but these errors were encountered: