-
Notifications
You must be signed in to change notification settings - Fork 241
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
Requesting TC review for Python Logs API/SDK spec compliance #1751
Comments
From what I understand this is a request for a TC review of Python Logging implementation. I will bring this up in the next TC meeting. |
@open-telemetry/python-maintainers can you please also confirm the review request? |
Yes, @tigrannajaryan this is our request, thanks! |
@ocelotl thanks. I will confirm in the next TC meeting and will post back here who will do the review. |
Update: No TC meeting this week due to Kubecon, will be discussed next week. |
I will be doing the review. |
Trace Context Injection works as expected, I can see a span and a log record in its context:
|
OTLP File exporter is not yet implemented, according to the compatibility matrix, so skipping the step. |
LoggerProvider.ForceFlush verified, works as expected. Code used: logger2.warning("Jail zesty vixen who grabbed pay from quack.")
# Trace context correlation
tracer = trace.get_tracer(__name__)
with tracer.start_as_current_span("foo"):
# Do something
logger2.error("Hyderabad, we have a major problem.")
logger_provider.force_flush()
time.sleep(10)
logger_provider.shutdown() Logs are printed immediately, when |
@ocelotl @open-telemetry/python-maintainers I started the review and will be filing issues like this as I go: https://github.com/open-telemetry/opentelemetry-python/issues/created_by/tigrannajaryan Let me know if you want me to ping you on each issue. |
Hi: keen to get logging to stable here so please let me know if I can help out in any way |
@garry-cairns Thank you. It would be great if you can help fix any of the non-compliance issues that I filed so far: https://github.com/open-telemetry/opentelemetry-python/issues/created_by/tigrannajaryan |
@open-telemetry/python-maintainers FYI, I am waiting for you to respond/resolve issues I opened so far so that I can continue the review. |
It is in our timelines to address these issues. Just facing other priorities at the moment. @garry-cairns Feel free to pickup any of the tasks if you want to expedite the process. @jeremydvoss fyi |
Yep I've commented on 3545 and 3546 to say I don't think they reproduce, and I've sent a PR I believe will close out 3060 if you can take a look when you have a moment. |
@lzchen @jeremydvoss is this still an ongoing issue? |
@jeremydvoss will be working on bringing Logging SDK to stability. The issues that @tigrannajaryan had brought up as part of the review has not been fully addressed/resolved yet but I believe the review itself is already finished. Does that mean this issue can be closed? |
@tigrannajaryan are you planning to do a final review once the issues you reported have been resolved, or is the review portion done from your perspective? thanks |
No, I have not finished the review, I had to stop after reporting the issues I found and it took a while before the issues were addressed. Unfortunately I don't have time to finish the review now, I have other work to do. We likely need someone else to take over. At the very least if I were to do the review I would go over the fixed issues to make sure everything works according to the spec. |
Thanks for all your effort and hard work in reviewing. We have more resourcing on our end to commit to addressing the issues you have already made. We will be on the lookout for someone else from the TC to possibly take over and will work with them extensively to push this to fruition. @jeremydvoss will likely be the PoC from the Python SIG side. |
@lzchen I will add this to the next TC meeting agenda to find a reviewer. |
We discussed in the TC meeting. I don't have time right now but should be able to help if folks can wait for a month (I should have bandwidth Nov. 18th - end of year 2024). |
Thanks @reyang for the update! |
I'm going to work on this, ETA ~mid-Nov |
LoggerProvider
is still functional after shutdown
open-telemetry/opentelemetry-python#4317
I have been investigating if Python's logging signal is ready to be stabilized. Could we get a TC member to look through the code and confirm that it is in line with the log spec and sem conv?
[UPDATE from @tigrannajaryan] Checklist to verify, borrowed from #1537 (checkmark means reviewed/verified against spec definition):
LoggerProvider
docs issues opentelemetry-python#4318LoggerProvider
docs issues opentelemetry-python#4318LoggerProvider
is still functional aftershutdown
opentelemetry-python#4317*LogExporter
to*LogRecordExporter
and similar for consistency opentelemetry-python#4321LoggingHandler
bridgeThe text was updated successfully, but these errors were encountered: