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.cjs
CHANGED
|
@@ -6090,9 +6090,13 @@ var LanggraphWrapper = class {
|
|
|
6090
6090
|
if (shouldSuppressInstrumentation()) {
|
|
6091
6091
|
return await originalFunc.call(instance, input, config2, ...rest);
|
|
6092
6092
|
}
|
|
6093
|
-
const span2 = this.tracer.startSpan(
|
|
6094
|
-
|
|
6095
|
-
|
|
6093
|
+
const span2 = this.tracer.startSpan(
|
|
6094
|
+
this.spanName,
|
|
6095
|
+
{
|
|
6096
|
+
kind: api.SpanKind.CLIENT
|
|
6097
|
+
},
|
|
6098
|
+
api.context.active()
|
|
6099
|
+
);
|
|
6096
6100
|
return api.context.with(api.trace.setSpan(api.context.active(), span2), async () => {
|
|
6097
6101
|
try {
|
|
6098
6102
|
setGraphInputAttributes(span2, input);
|
|
@@ -8391,6 +8395,13 @@ function initInstrumentations(config2, instruments, blockInstruments) {
|
|
|
8391
8395
|
customInstrumentModules.googleGenAI = true;
|
|
8392
8396
|
customInstrumentModules.anthropic = true;
|
|
8393
8397
|
} else if (instruments.size) {
|
|
8398
|
+
instrumentModules.google_vertexai = false;
|
|
8399
|
+
instrumentModules.langchain = false;
|
|
8400
|
+
instrumentModules.llamaIndex = false;
|
|
8401
|
+
instrumentModules.pinecone = false;
|
|
8402
|
+
instrumentModules.qdrant = false;
|
|
8403
|
+
instrumentModules.chromadb = false;
|
|
8404
|
+
instrumentModules.together = false;
|
|
8394
8405
|
if (instruments.has("openai" /* OPENAI */)) {
|
|
8395
8406
|
customInstrumentModules.openai = true;
|
|
8396
8407
|
}
|