Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
fix: instantiate instrumentor class before calling instrument() (#684)
André Ahlerta3e253ac0935
diff --git a/burr/integrations/opentelemetry.py b/burr/integrations/opentelemetry.pyindex 32dc4dd7..7a6970e8 100644--- a/burr/integrations/opentelemetry.py+++ b/burr/integrations/opentelemetry.py@@ -665,7 +665,8 @@ def _init_instrument(try:instrumentation_module = importlib.import_module(instrumentation_module_name)- instrumentor = getattr(instrumentation_module, instrumentor_name)+ instrumentor_cls = getattr(instrumentation_module, instrumentor_name)+ instrumentor = instrumentor_cls()if instrumentor.is_instrumented_by_opentelemetry:logger.debug(f"`{module_name}` is already instrumented.")else: