netra-sdk 1.4.0 → 1.6.0
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 +2236 -1204
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +192 -92
- package/dist/index.d.ts +192 -92
- package/dist/index.js +2163 -1132
- package/dist/index.js.map +1 -1
- package/package.json +11 -7
package/dist/index.d.cts
CHANGED
|
@@ -18,6 +18,26 @@ interface NetraConfig {
|
|
|
18
18
|
blockedSpans?: string[];
|
|
19
19
|
instruments?: Set<NetraInstruments>;
|
|
20
20
|
blockInstruments?: Set<NetraInstruments>;
|
|
21
|
+
/**
|
|
22
|
+
* Set of instruments allowed to produce root-level spans. Independent of
|
|
23
|
+
* `instruments`. Defaults to `DEFAULT_INSTRUMENTS_FOR_ROOT` when omitted.
|
|
24
|
+
*
|
|
25
|
+
* When a root span comes from an instrumentation outside this set, only that
|
|
26
|
+
* span is dropped — its children are reparented onto its parent (a true
|
|
27
|
+
* root's children become the new roots). The peel then repeats: if a promoted
|
|
28
|
+
* child is itself from a non-root instrumentation it is dropped too,
|
|
29
|
+
* recursively, until a surviving span is reached (an allowed instrument, a
|
|
30
|
+
* Netra decorator / manual span, or any non-instrumentation span). This keeps
|
|
31
|
+
* LLM/vector spans that originate under an unwanted server root (e.g.
|
|
32
|
+
* Express/HTTP) without emitting the server span itself. A span whose parent
|
|
33
|
+
* link is remote (cross-process) is kept as a root so an upstream distributed
|
|
34
|
+
* trace is not severed.
|
|
35
|
+
*
|
|
36
|
+
* Note: when `enableRootSpan` is true, Netra attaches its own root span and
|
|
37
|
+
* every auto-instrumentation span becomes its child, so no reparenting
|
|
38
|
+
* occurs. Pass a set containing `NetraInstruments.ALL` to allow all
|
|
39
|
+
* instrumentations to produce root spans (legacy behaviour).
|
|
40
|
+
*/
|
|
21
41
|
rootInstruments?: Set<NetraInstruments>;
|
|
22
42
|
}
|
|
23
43
|
declare enum NetraInstruments {
|
|
@@ -28,7 +48,8 @@ declare enum NetraInstruments {
|
|
|
28
48
|
*/
|
|
29
49
|
ALL = "__all__",
|
|
30
50
|
OPENAI = "openai",
|
|
31
|
-
|
|
51
|
+
GOOGLE_GENAI = "google_genai",
|
|
52
|
+
GOOGLE_GENERATIVE_AI = "google_generative_ai",
|
|
32
53
|
MISTRAL = "mistral_ai",
|
|
33
54
|
GROQ = "groq",
|
|
34
55
|
VERTEX_AI = "vertexai",
|
|
@@ -59,11 +80,15 @@ declare const DEFAULT_INSTRUMENTS: Set<NetraInstruments>;
|
|
|
59
80
|
declare class Config {
|
|
60
81
|
static readonly SDK_NAME = "netra";
|
|
61
82
|
static readonly LIBRARY_NAME = "netra";
|
|
62
|
-
static readonly LIBRARY_VERSION = "1.
|
|
83
|
+
static readonly LIBRARY_VERSION = "1.6.0";
|
|
63
84
|
static readonly TRIAL_BLOCK_DURATION_SECONDS = 900;
|
|
64
|
-
static
|
|
65
|
-
|
|
66
|
-
|
|
85
|
+
private static _spanAttributeMaxSize;
|
|
86
|
+
/**
|
|
87
|
+
* Lazily reads NETRA_SPAN_ATTRIBUTE_MAX_SIZE from process.env on first
|
|
88
|
+
* access so that env vars set before Netra.init() (via dotenv, shell
|
|
89
|
+
* export, Docker, etc.) are always respected regardless of import order.
|
|
90
|
+
*/
|
|
91
|
+
static get SPAN_ATTRIBUTE_MAX_SIZE(): number;
|
|
67
92
|
appName: string;
|
|
68
93
|
otlpEndpoint?: string;
|
|
69
94
|
apiKey?: string;
|
|
@@ -850,109 +875,76 @@ declare class Prompts {
|
|
|
850
875
|
}
|
|
851
876
|
|
|
852
877
|
/**
|
|
853
|
-
*
|
|
878
|
+
* Instrumentation Span Processor
|
|
854
879
|
*
|
|
855
|
-
*
|
|
856
|
-
*
|
|
880
|
+
* OpenTelemetry span processor that records the raw instrumentation scope
|
|
881
|
+
* name for each span. This enables downstream processors and the dashboard
|
|
882
|
+
* to identify which provider/framework produced a given span.
|
|
857
883
|
*/
|
|
858
884
|
|
|
859
|
-
declare class
|
|
860
|
-
private
|
|
861
|
-
constructor(maxAttributeSize?: number);
|
|
885
|
+
declare class InstrumentationSpanProcessor implements SpanProcessor {
|
|
886
|
+
private detectRawInstrumentationName;
|
|
862
887
|
onStart(span: Span, _parentContext: Context): void;
|
|
863
888
|
onEnd(_span: ReadableSpan): void;
|
|
864
889
|
shutdown(): Promise<void>;
|
|
865
890
|
forceFlush(): Promise<void>;
|
|
866
|
-
private _wrapSetAttribute;
|
|
867
891
|
}
|
|
868
892
|
|
|
893
|
+
declare function withBlockedSpansLocal<T>(patterns: readonly string[], fn: () => Promise<T>): Promise<T>;
|
|
894
|
+
declare function withBlockedSpansLocal<T>(patterns: readonly string[], fn: () => T): T;
|
|
895
|
+
|
|
869
896
|
/**
|
|
870
|
-
*
|
|
897
|
+
* Scrubbing Span Processor
|
|
898
|
+
*
|
|
899
|
+
* OpenTelemetry span processor that scrubs sensitive data from span attributes
|
|
900
|
+
* at write time via setAttribute wrapping. This includes API keys, emails,
|
|
901
|
+
* phone numbers, SSNs, credit cards, passwords, bearer tokens, and other
|
|
902
|
+
* sensitive information.
|
|
871
903
|
*
|
|
872
|
-
*
|
|
873
|
-
*
|
|
874
|
-
*
|
|
904
|
+
* Handles both pre-serialized string values (the normal path when
|
|
905
|
+
* SerializationSpanProcessor is active) and raw objects/arrays (defensive
|
|
906
|
+
* fallback for custom pipelines that skip serialization).
|
|
907
|
+
*
|
|
908
|
+
* Wraps in onStart to avoid unreliable _attributes mutation in onEnd.
|
|
909
|
+
* MUST be registered BEFORE SerializationSpanProcessor so it forms the
|
|
910
|
+
* innermost layer (closest to OTel storage). Because serialization wraps
|
|
911
|
+
* outside this layer, values are serialized to strings first, then this
|
|
912
|
+
* processor scrubs sensitive patterns from the resulting string values.
|
|
875
913
|
*/
|
|
876
914
|
|
|
877
|
-
declare class
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
/**
|
|
881
|
-
* Detect the raw instrumentation name from the span's instrumentation scope.
|
|
882
|
-
*/
|
|
883
|
-
private detectRawInstrumentationName;
|
|
884
|
-
/**
|
|
885
|
-
* Truncate a value to the maximum allowed length.
|
|
886
|
-
* Handles strings, bytes, and recursively handles lists and objects.
|
|
887
|
-
*/
|
|
888
|
-
private truncateValue;
|
|
889
|
-
/**
|
|
890
|
-
* Called when a span starts. Wraps setAttribute to truncate values
|
|
891
|
-
* and records the instrumentation name.
|
|
892
|
-
*/
|
|
893
|
-
onStart(span: Span, parentContext: Context): void;
|
|
894
|
-
/**
|
|
895
|
-
* Called when a span ends. No-op for this processor.
|
|
896
|
-
*/
|
|
897
|
-
onEnd(span: ReadableSpan): void;
|
|
898
|
-
/**
|
|
899
|
-
* Shuts down the processor.
|
|
900
|
-
*/
|
|
915
|
+
declare class ScrubbingSpanProcessor implements SpanProcessor {
|
|
916
|
+
onStart(span: Span, _parentContext: Context): void;
|
|
917
|
+
onEnd(_span: ReadableSpan): void;
|
|
901
918
|
shutdown(): Promise<void>;
|
|
902
|
-
/**
|
|
903
|
-
* Forces a flush of any pending spans.
|
|
904
|
-
*/
|
|
905
919
|
forceFlush(): Promise<void>;
|
|
920
|
+
private wrapSetAttribute;
|
|
906
921
|
}
|
|
907
922
|
|
|
908
|
-
declare function withBlockedSpansLocal<T>(patterns: readonly string[], fn: () => Promise<T>): Promise<T>;
|
|
909
|
-
declare function withBlockedSpansLocal<T>(patterns: readonly string[], fn: () => T): T;
|
|
910
|
-
|
|
911
923
|
/**
|
|
912
|
-
*
|
|
924
|
+
* Serialization Span Processor
|
|
925
|
+
*
|
|
926
|
+
* Single enforcement point for attribute serialization and truncation.
|
|
927
|
+
* Wraps span.setAttribute in onStart so every value is serialized and
|
|
928
|
+
* truncated at write time. Uses jsonrepair-based truncation for JSON
|
|
929
|
+
* values and `...[TRUNCATED]` suffix for plain strings, aligned with
|
|
930
|
+
* backend behavior.
|
|
913
931
|
*
|
|
914
|
-
*
|
|
915
|
-
*
|
|
916
|
-
*
|
|
932
|
+
* MUST be registered AFTER ScrubbingSpanProcessor so it wraps outside
|
|
933
|
+
* the scrubbing layer. In the resulting call chain, serialization runs
|
|
934
|
+
* before scrubbing — converting objects to JSON strings so the
|
|
935
|
+
* regex-based scrubber can detect sensitive patterns in string form.
|
|
936
|
+
* All values, including those assembled by SpanIOProcessor, pass
|
|
937
|
+
* through serialization → scrubbing before reaching OTel storage.
|
|
917
938
|
*/
|
|
918
939
|
|
|
919
|
-
declare class
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* Scrub sensitive patterns from a string value.
|
|
926
|
-
*/
|
|
927
|
-
private scrubStringValue;
|
|
928
|
-
/**
|
|
929
|
-
* Recursively scrub sensitive data from a dictionary value.
|
|
930
|
-
*/
|
|
931
|
-
private scrubDictValue;
|
|
932
|
-
/**
|
|
933
|
-
* Recursively scrub sensitive data from a list value.
|
|
934
|
-
*/
|
|
935
|
-
private scrubListValue;
|
|
936
|
-
/**
|
|
937
|
-
* Scrub sensitive data from a key-value pair.
|
|
938
|
-
*/
|
|
939
|
-
private scrubKeyValue;
|
|
940
|
-
/**
|
|
941
|
-
* Called when a span starts. No-op for this processor.
|
|
942
|
-
*/
|
|
943
|
-
onStart(span: Span, parentContext: Context): void;
|
|
944
|
-
/**
|
|
945
|
-
* Called when a span ends. Scrubs sensitive data from span attributes.
|
|
946
|
-
*/
|
|
947
|
-
onEnd(span: ReadableSpan): void;
|
|
948
|
-
/**
|
|
949
|
-
* Shuts down the processor.
|
|
950
|
-
*/
|
|
940
|
+
declare class SerializationSpanProcessor implements SpanProcessor {
|
|
941
|
+
private readonly maxAttributeSize;
|
|
942
|
+
constructor(maxAttributeSize?: number);
|
|
943
|
+
onStart(span: Span, _parentContext: Context): void;
|
|
944
|
+
onEnd(_span: ReadableSpan): void;
|
|
951
945
|
shutdown(): Promise<void>;
|
|
952
|
-
/**
|
|
953
|
-
* Forces a flush of any pending spans.
|
|
954
|
-
*/
|
|
955
946
|
forceFlush(): Promise<void>;
|
|
947
|
+
private wrapSetAttribute;
|
|
956
948
|
}
|
|
957
949
|
|
|
958
950
|
/**
|
|
@@ -988,7 +980,7 @@ declare class SessionSpanProcessor implements SpanProcessor {
|
|
|
988
980
|
|
|
989
981
|
declare class SpanIOProcessor implements SpanProcessor {
|
|
990
982
|
onStart(span: Span, _parentContext: Context): void;
|
|
991
|
-
onEnd(
|
|
983
|
+
onEnd(_span: ReadableSpan): void;
|
|
992
984
|
shutdown(): Promise<void>;
|
|
993
985
|
forceFlush(): Promise<void>;
|
|
994
986
|
private _wrapSetAttribute;
|
|
@@ -1235,6 +1227,30 @@ declare function span(target: AnyClass): void;
|
|
|
1235
1227
|
declare function span<T extends AnyFunction>(target: T): T;
|
|
1236
1228
|
declare function span(options?: DecoratorOptions): UnifiedDecorator;
|
|
1237
1229
|
|
|
1230
|
+
interface SafeStringifyOptions {
|
|
1231
|
+
maxLength?: number;
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* Circular-reference-safe JSON serialization.
|
|
1235
|
+
*
|
|
1236
|
+
* Handles circular references, functions, symbols, bigints, and
|
|
1237
|
+
* large class instances gracefully. Never throws.
|
|
1238
|
+
*
|
|
1239
|
+
* When called without options, performs pure serialization with no truncation.
|
|
1240
|
+
* Pass `{ maxLength }` to enable hard truncation of the final result.
|
|
1241
|
+
*/
|
|
1242
|
+
declare function safeStringify(value: unknown, options?: SafeStringifyOptions): string;
|
|
1243
|
+
|
|
1244
|
+
interface TruncatingSerializerConfig {
|
|
1245
|
+
maxAttributeSize: number;
|
|
1246
|
+
}
|
|
1247
|
+
type SerializedAttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
|
|
1248
|
+
declare class TruncatingSerializer {
|
|
1249
|
+
private readonly maxAttributeSize;
|
|
1250
|
+
constructor(config?: Partial<TruncatingSerializerConfig>);
|
|
1251
|
+
serializeAttribute(value: unknown, budget?: number): SerializedAttributeValue;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1238
1254
|
/**
|
|
1239
1255
|
* Shared utility functions for instrumentation.
|
|
1240
1256
|
* Handles setting OTel span attributes for LLM request/response tracing.
|
|
@@ -1347,6 +1363,23 @@ interface SpanData {
|
|
|
1347
1363
|
input_tokens?: number;
|
|
1348
1364
|
output_tokens?: number;
|
|
1349
1365
|
details?: Record<string, unknown> | null;
|
|
1366
|
+
input_tokens_details?: {
|
|
1367
|
+
cached_tokens?: number;
|
|
1368
|
+
cache_write_tokens?: number;
|
|
1369
|
+
} | null;
|
|
1370
|
+
output_tokens_details?: {
|
|
1371
|
+
reasoning_tokens?: number;
|
|
1372
|
+
} | null;
|
|
1373
|
+
prompt_tokens?: number;
|
|
1374
|
+
completion_tokens?: number;
|
|
1375
|
+
total_tokens?: number;
|
|
1376
|
+
prompt_tokens_details?: {
|
|
1377
|
+
cached_tokens?: number;
|
|
1378
|
+
cache_write_tokens?: number;
|
|
1379
|
+
} | null;
|
|
1380
|
+
completion_tokens_details?: {
|
|
1381
|
+
reasoning_tokens?: number;
|
|
1382
|
+
} | null;
|
|
1350
1383
|
};
|
|
1351
1384
|
to_agent?: string;
|
|
1352
1385
|
from_agent?: string;
|
|
@@ -1419,6 +1452,20 @@ declare class NetraOpenAIAgentsInstrumentor {
|
|
|
1419
1452
|
}
|
|
1420
1453
|
declare const openaiAgentsInstrumentor: NetraOpenAIAgentsInstrumentor;
|
|
1421
1454
|
|
|
1455
|
+
/**
|
|
1456
|
+
* SpanExporter wrapper that drops spans by name and by root-instrument policy.
|
|
1457
|
+
*
|
|
1458
|
+
* A span is dropped when any of the following holds:
|
|
1459
|
+
* - its trace id was blocked while a trial/quota block was active;
|
|
1460
|
+
* - its name matches a globally configured block pattern;
|
|
1461
|
+
* - its name matches a per-span local block pattern set by
|
|
1462
|
+
* `LocalFilteringSpanProcessor`;
|
|
1463
|
+
* - it is a root-connected span from an instrumentation not allowed to emit
|
|
1464
|
+
* root spans (resolved by `findRootSpansBlocked`).
|
|
1465
|
+
*
|
|
1466
|
+
* Children of a dropped span are reparented onto the dropped span's parent so
|
|
1467
|
+
* subtrees are never silently discarded.
|
|
1468
|
+
*/
|
|
1422
1469
|
declare class FilteringSpanExporter implements SpanExporter {
|
|
1423
1470
|
private readonly exporter;
|
|
1424
1471
|
private readonly localBlockedMap?;
|
|
@@ -1434,22 +1481,75 @@ declare class FilteringSpanExporter implements SpanExporter {
|
|
|
1434
1481
|
private readonly localPatternCache;
|
|
1435
1482
|
private static readonly MAX_LOCAL_PATTERN_CACHE;
|
|
1436
1483
|
constructor(exporter: SpanExporter, globalPatterns: string[], localBlockedMap?: ReadonlyMap<string, SpanContext | undefined> | undefined);
|
|
1484
|
+
/**
|
|
1485
|
+
* Filter `spans`, reparent survivors, and forward them to the wrapped exporter.
|
|
1486
|
+
*
|
|
1487
|
+
* While a trial/quota block is active the whole batch is dropped and its trace
|
|
1488
|
+
* ids are remembered so their later spans are dropped too. Otherwise the batch
|
|
1489
|
+
* is classified into name/local drops and root-instrument drops, the survivors
|
|
1490
|
+
* are reparented past any dropped ancestor, and only they are forwarded.
|
|
1491
|
+
*/
|
|
1437
1492
|
export(spans: ReadableSpan[], resultCallback: (result: {
|
|
1438
1493
|
code: ExportResultCode;
|
|
1439
1494
|
}) => void): void;
|
|
1440
1495
|
shutdown(): Promise<void>;
|
|
1441
1496
|
forceFlush(): Promise<void>;
|
|
1497
|
+
/**
|
|
1498
|
+
* Remember the trace ids seen during a block so their later spans are dropped
|
|
1499
|
+
* too, even after the block expires.
|
|
1500
|
+
*/
|
|
1501
|
+
private recordBlockedTraceIds;
|
|
1502
|
+
/**
|
|
1503
|
+
* Find the spans dropped unconditionally by a global or local name rule.
|
|
1504
|
+
*
|
|
1505
|
+
* Trace-blocked spans are skipped entirely (dropped without reparenting). Each
|
|
1506
|
+
* dropped span is also recorded in the cross-batch remembered map so a child
|
|
1507
|
+
* arriving in a later batch can still be reparented past it. The returned map
|
|
1508
|
+
* feeds both the root-connected candidate walk — as transparent dropped
|
|
1509
|
+
* ancestors — and the reparent map.
|
|
1510
|
+
*
|
|
1511
|
+
* @returns A `{droppedSpanId -> normalizedParent}` map for the name/locally
|
|
1512
|
+
* blocked spans in this batch.
|
|
1513
|
+
*/
|
|
1514
|
+
private findSpansBlockedByName;
|
|
1515
|
+
/**
|
|
1516
|
+
* Check whether `span` is blocked by its per-span local rules — either its
|
|
1517
|
+
* name matches a local pattern or it carries the local-block flag.
|
|
1518
|
+
*/
|
|
1519
|
+
private isLocallyBlocked;
|
|
1520
|
+
/**
|
|
1521
|
+
* Return the spans that survive filtering: not trace-blocked and not in
|
|
1522
|
+
* `allBlockedSpanIds` (name/local drops or the root-instrument policy).
|
|
1523
|
+
*/
|
|
1524
|
+
private collectSurvivors;
|
|
1525
|
+
/**
|
|
1526
|
+
* Merge the cross-batch remembered map with this batch's dropped-parent maps.
|
|
1527
|
+
*
|
|
1528
|
+
* Ordering matters — later wins on conflict: the remembered map and the
|
|
1529
|
+
* injected local-block snapshot are the base, overlaid by root-blocked
|
|
1530
|
+
* parents, then this batch's name/local blocks, so in-batch drops win.
|
|
1531
|
+
*
|
|
1532
|
+
* @returns The merged `{droppedSpanId -> parent}` map used for reparenting.
|
|
1533
|
+
*/
|
|
1534
|
+
private buildReparentMap;
|
|
1442
1535
|
private getCompiledLocalPatterns;
|
|
1443
1536
|
private evictRememberedIfNeeded;
|
|
1444
|
-
|
|
1537
|
+
/**
|
|
1538
|
+
* Read the per-span local-block patterns set by `LocalFilteringSpanProcessor`,
|
|
1539
|
+
* or an empty list when none are set.
|
|
1540
|
+
*/
|
|
1541
|
+
private readLocalBlockPatterns;
|
|
1542
|
+
/** Check whether the processor explicitly flagged `span` as locally blocked. */
|
|
1445
1543
|
private hasLocalBlockFlag;
|
|
1446
1544
|
/**
|
|
1447
|
-
*
|
|
1448
|
-
* with a ReparentedSpan pointing to the nearest non-blocked ancestor.
|
|
1545
|
+
* Reparent each span past any dropped ancestor onto its first surviving one.
|
|
1449
1546
|
*
|
|
1450
|
-
*
|
|
1547
|
+
* Walks the chain of dropped parents (following `blockedMap`) until a surviving
|
|
1548
|
+
* parent — or `undefined` (promote to root) — is reached, then wraps the span
|
|
1549
|
+
* in a `ReparentedSpan` pointing there. A cycle guard (visited set) prevents
|
|
1550
|
+
* infinite loops in malformed traces.
|
|
1451
1551
|
*/
|
|
1452
|
-
private
|
|
1552
|
+
private reparentSpans;
|
|
1453
1553
|
}
|
|
1454
1554
|
|
|
1455
1555
|
interface ExporterConfig {
|
|
@@ -1606,4 +1706,4 @@ declare class Netra {
|
|
|
1606
1706
|
static withBlockedSpansLocal: typeof withBlockedSpansLocal;
|
|
1607
1707
|
}
|
|
1608
1708
|
|
|
1609
|
-
export { type ActionModel, Aggregation,
|
|
1709
|
+
export { type ActionModel, Aggregation, BaseTask, type CategoricalDataPoint, ChartType, Config, type ConversationResponse, type ConversationResult, ConversationType, type CreateDatasetParams, type CreateRunResult, DEFAULT_INSTRUMENTS, DEFAULT_INSTRUMENTS_FOR_ROOT, Dashboard, type DashboardData, type Dataset, type DatasetEntry, type DatasetItem, type Dimension, DimensionField, type DimensionValue, EntryStatus, Evaluation, type EvaluationScore, type EvaluatorFunction, type Filter, type FilterConfig, FilterField, FilterType, FilteringSpanExporter, type GetPromptParams, GroupBy, InstrumentationSpanProcessor, type ListSpansParams, type ListTracesParams, Measure, type Metrics, Netra, NetraAgentsTracingProcessor, NetraInstruments, NetraOpenAIAgentsInstrumentor, type NumberResponse, Operator, type ProcessedFile, type PromptResponse, Prompts, type QueryDataParams, type QueryResponse, type Run, RunEntryContext, RunStatus, type SafeStringifyOptions, Scope, ScrubbingSpanProcessor, SerializationSpanProcessor, SessionSpanProcessor, type SessionUsageData, Simulation, type SimulationItem, type SimulationOptions, type SimulationResult, SpanIOProcessor, type SpanOptions, SpanType, type SpansPage, type TaskFunction, type TaskResult, type TenantUsageData, type TestSuiteResult, type TimeRange, type TimeSeriesDataPoint, type TimeSeriesResponse, type TimeSeriesWithDimension, type TraceSpan, type TraceSummary, type TracesPage, TrialAwareOTLPExporter, TruncatingSerializer, Usage, type UsageModel, agent, Netra as default, metadataField, mistralAIInstrumentor, netraExpressMiddleware, openaiAgentsInstrumentor, runWithExtractedContext, safeStringify, span, task, workflow };
|