netra-sdk 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +14 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6059,9 +6059,13 @@ var LanggraphWrapper = class {
|
|
|
6059
6059
|
if (shouldSuppressInstrumentation()) {
|
|
6060
6060
|
return await originalFunc.call(instance, input, config2, ...rest);
|
|
6061
6061
|
}
|
|
6062
|
-
const span2 = this.tracer.startSpan(
|
|
6063
|
-
|
|
6064
|
-
|
|
6062
|
+
const span2 = this.tracer.startSpan(
|
|
6063
|
+
this.spanName,
|
|
6064
|
+
{
|
|
6065
|
+
kind: SpanKind.CLIENT
|
|
6066
|
+
},
|
|
6067
|
+
context.active()
|
|
6068
|
+
);
|
|
6065
6069
|
return context.with(trace.setSpan(context.active(), span2), async () => {
|
|
6066
6070
|
try {
|
|
6067
6071
|
setGraphInputAttributes(span2, input);
|
|
@@ -8360,6 +8364,13 @@ function initInstrumentations(config2, instruments, blockInstruments) {
|
|
|
8360
8364
|
customInstrumentModules.googleGenAI = true;
|
|
8361
8365
|
customInstrumentModules.anthropic = true;
|
|
8362
8366
|
} else if (instruments.size) {
|
|
8367
|
+
instrumentModules.google_vertexai = false;
|
|
8368
|
+
instrumentModules.langchain = false;
|
|
8369
|
+
instrumentModules.llamaIndex = false;
|
|
8370
|
+
instrumentModules.pinecone = false;
|
|
8371
|
+
instrumentModules.qdrant = false;
|
|
8372
|
+
instrumentModules.chromadb = false;
|
|
8373
|
+
instrumentModules.together = false;
|
|
8363
8374
|
if (instruments.has("openai" /* OPENAI */)) {
|
|
8364
8375
|
customInstrumentModules.openai = true;
|
|
8365
8376
|
}
|