Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add enable to init
  • Loading branch information
sabrenner committed Jun 28, 2024
commit 4144819dd29e6b9c1a10e2363b2697d27f88f21e
4 changes: 4 additions & 0 deletions datadog_lambda/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ def __init__(self, func):
# Patch third-party libraries for tracing
patch_all()

# Enable LLM Observability
if llmobs_env_var:
LLMObs.enable()

logger.debug("datadog_lambda_wrapper initialized")
except Exception as e:
logger.error(format_err_with_traceback(e))
Expand Down