Open damianoneill opened 4 hours ago
Hey @damianoneill! I'm here to help you with the Traceloop SDK issue you've encountered. I can assist with bug fixes, answer questions, and guide you through the process of becoming a contributor. Let's tackle this together!
The Traceloop SDK writes content to stdout after updating from version 0.30.0 to 0.33.10 due to several print
statements in the init
method of the Traceloop
class. These statements output messages related to the configuration and status of tracing, metrics, and logging.
To control or disable this behavior, you can modify the source code to remove or comment out the print
statements. Alternatively, you could redirect stdout in your application to suppress these messages. Unfortunately, there isn't a built-in configuration option or environment variable in the Traceloop SDK to disable or redirect stdout output directly [1].
To continue talking to Dosu, mention @dosu.
Which component is this bug for?
Traceloop SDK
π Description
I've just update the library from 0.30.0 to 0.33.10 and I am now getting content written to std out e.g.
π Reproduction steps
Triggered from
from traceloop.sdk.telemetry import Telemetry
π Expected behavior
It should not generate content without the ability to control this / switch it off.
π Actual Behavior with Screenshots
See above.
π€ Python Version
3.11.9
π Provide any additional context for the Bug.
No response
π Have you spent some time to check if this bug has been raised before?
Are you willing to submit PR?
None