Usage
Introduction
This package provides the otelize_context_manager wrapper that wraps a context manager,
returning a span and the original result.
Remember that the values are converted to make sure no sensible data is leaked, and that we serialize complex objects. View OtelValueConverter.
The otelize context manager wrapper
Just wrap otelize_context_manager to your context manager:
The span will contain ‘return_value’: ‘dummy-value’ and the ‘custom.value’: ‘my-custom-value’.