Skip to content

Make logging API/SDK timeouts uniform before release #5403

Description

@carlosalberto

Before going stable, there's a chance to review and align the timeout values:

  • In traces, export and flush timeouts default to 30 seconds, whereas in metrics they default to 10 seconds. In logging most places use 10, but one-two use 30 seconds instead. They should all get the same value.
  • In some methods, timeout can receive a None value where in other places it can only get an int. Whatever decision is taken, all methods should align to that:
def force_flush(self, timeout_millis: int | None = None):
# VS
def force_flush(self, timeout_millis:int = None):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions