class documentation

class Runtime: (source)

Constructor: Runtime(telemetry)

View In Hierarchy

Runtime for SDK Core.

Method __init__ Create SDK Core runtime.
Method retrieve_buffered_metrics Get buffered metrics.
Method write_test_debug_log Write a test core log at DEBUG level.
Method write_test_info_log Write a test core log at INFO level.
Static Method _raise_in_thread Internal helper for raising an exception in thread.
Instance Variable _ref Undocumented
def __init__(self, *, telemetry: TelemetryConfig): (source)

Create SDK Core runtime.

def retrieve_buffered_metrics(self, durations_as_seconds: bool) -> Sequence[Any]: (source)

Get buffered metrics.

def write_test_debug_log(self, message: str, extra_data: str): (source)

Write a test core log at DEBUG level.

def write_test_info_log(self, message: str, extra_data: str): (source)

Write a test core log at INFO level.

@staticmethod
def _raise_in_thread(thread_id: int, exc_type: Type[BaseException]) -> bool: (source)

Internal helper for raising an exception in thread.

Undocumented