Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ObservedTimeUnixNano Fallback for Missing TimeUnixNano Field #6895

Open
1 task done
bastonta opened this issue Dec 7, 2024 · 0 comments
Open
1 task done

Add ObservedTimeUnixNano Fallback for Missing TimeUnixNano Field #6895

bastonta opened this issue Dec 7, 2024 · 0 comments
Labels
area-dashboard area-telemetry untriaged New issue has not been triaged

Comments

@bastonta
Copy link

bastonta commented Dec 7, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

I'm encountering an issue where the log timestamp defaults to "1/1/1970 0:00:00.000 AM" whenever the TimeUnixNano field is not set.

Describe the solution you'd like

Would it be possible to:

  • Add the ObservedTimestamp property to be displayed on the UI?
  • Provide a fallback mechanism where, if TimeUnixNano is not populated, the ObservedTimeUnixNano field is used instead?

Additional context

The ObservedTimeUnixNano field is described in the OpenTelemetry specification:
ObservedTimestamp Documentation.

The TimeUnixNano field is currently used in the following file:
OtlpLogEntry.cs#L29.

@joperezr joperezr added the untriaged New issue has not been triaged label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dashboard area-telemetry untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

2 participants