https://signoz.io logo
#support
Title
# support
t

tim winter

05/24/2023, 9:27 PM
Looks like there is an issue with the documentation, https://signoz.io/docs/userguide/collecting_application_logs_otel_sdk_python/ for logging references
opentelemetry.sdk._logs.set_log_emitter_provider
, which is no longer provider by
pentelemetry.sdk._logs
The reason why logs is in a private module is because logs are still experimental, so apparently the api is changing without warning a lot at this point. Dang.
n

nitya-signoz

05/25/2023, 4:49 AM
Thanks for mentioning it. Yes, it seems to be updated. Please look at the latest example here https://github.com/open-telemetry/opentelemetry-python/blob/main/docs/examples/logs/example.py
2 Views