-
Notifications
You must be signed in to change notification settings - Fork 647
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
Stabilize Logs #3361
Comments
For log records, here are some initial links: Need to confirm logData does no defaulting. |
Confirmed emit does not seem to default timestamp. This also means that trying to export that LogRecord to console fails because it cannot format timestamp. LogRecord.to_json() does not expect None. EX:
|
Looking into include_trace_context, it does not seem python has this to begin with. LoggingHandler.emit calls LoggingHandler._translate which uses
|
Here is the observed_timestamp field |
Seems we are NOT defaulting observed_timestamp to current time. We could change this in the sdk...
... or in the api:
I am getting |
Use time.time_ns() |
Perhaps it would be worth including a fix for #3353 before stabilizing. This might not technically be a breaking change but it does significantly change the messages received |
I don't believe the issue exists within the SDK itself so it wouldn't be a blocker. |
Might be another issue: #3193 |
Take a look at #3608 |
Take a look at #3810 |
After confirming all of the following have been taken care of, I think we can stabilized logs. Got these from open-telemetry/opentelemetry-specification#2911
Is your feature request related to a problem?
Leaving Logs unstable enabled breaking changes like #2943
Describe the solution you'd like
With the logging spec stable, we should confirm we have everything we need and stabilize logs as soon as possible.
The text was updated successfully, but these errors were encountered: