We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6efa3ab commit 61d1422Copy full SHA for 61d1422
opentelemetry-sdk/src/opentelemetry/sdk/_shared_internal/__init__.py
@@ -50,7 +50,10 @@ def filter(self, record):
50
record.module,
51
record.levelno,
52
record.msg,
53
- time.time() // 60,
+ # We need to pick a time longer than the OTLP LogExporter timeout
54
+ # which defaults to 10 seconds, but not pick something so long that
55
+ # it filters out useful logs.
56
+ time.time() // 20,
57
)
58
if current_log != getattr(self, "last_log", None):
59
self.last_log = current_log # pylint: disable=attribute-defined-outside-init
0 commit comments