File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
packages/dd-trace/src/llmobs Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ const LLMObsTagger = require('./tagger')
22
22
const LLMObsSpanWriter = require ( './writers/spans' )
23
23
const { setAgentStrategy } = require ( './writers/util' )
24
24
25
+ const util = require ( 'node:util' )
26
+
25
27
/**
26
28
* Setting writers and processor globally when LLMObs is enabled
27
29
* We're setting these in this module instead of on the SDK.
@@ -75,6 +77,7 @@ function enable (config) {
75
77
spanWriter ?. setAgentless ( useAgentless )
76
78
77
79
telemetry . recordLLMObsEnabled ( startTime , config )
80
+ log . debug ( `[LLMObs] Enabled LLM Observability with configuration: ${ util . inspect ( config . llmobs ) } ` )
78
81
} )
79
82
}
80
83
@@ -90,6 +93,8 @@ function disable () {
90
93
91
94
spanWriter = null
92
95
evalWriter = null
96
+
97
+ log . debug ( '[LLMObs] Disabled LLM Observability' )
93
98
}
94
99
95
100
// since LLMObs traces can extend between services and be the same trace,
You can’t perform that action at this time.
0 commit comments