@traceai/cohere 0.1.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/README.md +436 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/instrumentation.d.ts +34 -0
- package/dist/esm/instrumentation.d.ts.map +1 -0
- package/dist/esm/instrumentation.js +370 -0
- package/dist/esm/instrumentation.js.map +1 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -0
- package/dist/esm/typeUtils.d.ts +6 -0
- package/dist/esm/typeUtils.d.ts.map +1 -0
- package/dist/esm/typeUtils.js +10 -0
- package/dist/esm/typeUtils.js.map +1 -0
- package/dist/esm/version.d.ts +2 -0
- package/dist/esm/version.d.ts.map +1 -0
- package/dist/esm/version.js +2 -0
- package/dist/esm/version.js.map +1 -0
- package/dist/esnext/index.d.ts +3 -0
- package/dist/esnext/index.d.ts.map +1 -0
- package/dist/esnext/index.js +3 -0
- package/dist/esnext/index.js.map +1 -0
- package/dist/esnext/instrumentation.d.ts +34 -0
- package/dist/esnext/instrumentation.d.ts.map +1 -0
- package/dist/esnext/instrumentation.js +359 -0
- package/dist/esnext/instrumentation.js.map +1 -0
- package/dist/esnext/tsconfig.esnext.tsbuildinfo +1 -0
- package/dist/esnext/typeUtils.d.ts +6 -0
- package/dist/esnext/typeUtils.d.ts.map +1 -0
- package/dist/esnext/typeUtils.js +10 -0
- package/dist/esnext/typeUtils.js.map +1 -0
- package/dist/esnext/version.d.ts +2 -0
- package/dist/esnext/version.d.ts.map +1 -0
- package/dist/esnext/version.js +2 -0
- package/dist/esnext/version.js.map +1 -0
- package/dist/src/__tests__/instrumentation.test.d.ts +2 -0
- package/dist/src/__tests__/instrumentation.test.d.ts.map +1 -0
- package/dist/src/__tests__/instrumentation.test.js +259 -0
- package/dist/src/__tests__/instrumentation.test.js.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +19 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/instrumentation.d.ts +34 -0
- package/dist/src/instrumentation.d.ts.map +1 -0
- package/dist/src/instrumentation.js +364 -0
- package/dist/src/instrumentation.js.map +1 -0
- package/dist/src/typeUtils.d.ts +6 -0
- package/dist/src/typeUtils.d.ts.map +1 -0
- package/dist/src/typeUtils.js +14 -0
- package/dist/src/typeUtils.js.map +1 -0
- package/dist/src/version.d.ts +2 -0
- package/dist/src/version.d.ts.map +1 -0
- package/dist/src/version.js +5 -0
- package/dist/src/version.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +75 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility function that uses the type system to check if a switch statement is exhaustive.
|
|
3
|
+
*/
|
|
4
|
+
export declare function assertUnreachable(_: never): never;
|
|
5
|
+
export declare function isString(value: unknown): value is string;
|
|
6
|
+
//# sourceMappingURL=typeUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeUtils.d.ts","sourceRoot":"","sources":["../../src/typeUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,KAAK,GAAG,KAAK,CAEjD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAExD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility function that uses the type system to check if a switch statement is exhaustive.
|
|
3
|
+
*/
|
|
4
|
+
export function assertUnreachable(_) {
|
|
5
|
+
throw new Error("Unreachable");
|
|
6
|
+
}
|
|
7
|
+
export function isString(value) {
|
|
8
|
+
return typeof value === "string";
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=typeUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeUtils.js","sourceRoot":"","sources":["../../src/typeUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,CAAQ;IACxC,MAAM,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,KAAc;IACrC,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instrumentation.test.d.ts","sourceRoot":"","sources":["../../../src/__tests__/instrumentation.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const globals_1 = require("@jest/globals");
|
|
4
|
+
const instrumentation_1 = require("../instrumentation");
|
|
5
|
+
// Mock the dependencies
|
|
6
|
+
globals_1.jest.mock("@traceai/fi-core", () => ({
|
|
7
|
+
FITracer: globals_1.jest.fn().mockImplementation(() => ({
|
|
8
|
+
startSpan: globals_1.jest.fn().mockReturnValue({
|
|
9
|
+
setStatus: globals_1.jest.fn(),
|
|
10
|
+
setAttribute: globals_1.jest.fn(),
|
|
11
|
+
recordException: globals_1.jest.fn(),
|
|
12
|
+
setAttributes: globals_1.jest.fn(),
|
|
13
|
+
addEvent: globals_1.jest.fn(),
|
|
14
|
+
end: globals_1.jest.fn(),
|
|
15
|
+
isRecording: globals_1.jest.fn().mockReturnValue(true),
|
|
16
|
+
spanContext: globals_1.jest.fn().mockReturnValue({ spanId: "test-span-id" }),
|
|
17
|
+
}),
|
|
18
|
+
startActiveSpan: globals_1.jest.fn((name, fn) => {
|
|
19
|
+
const mockSpan = {
|
|
20
|
+
setStatus: globals_1.jest.fn(),
|
|
21
|
+
recordException: globals_1.jest.fn(),
|
|
22
|
+
setAttributes: globals_1.jest.fn(),
|
|
23
|
+
addEvent: globals_1.jest.fn(),
|
|
24
|
+
end: globals_1.jest.fn(),
|
|
25
|
+
isRecording: globals_1.jest.fn().mockReturnValue(true),
|
|
26
|
+
};
|
|
27
|
+
return fn(mockSpan);
|
|
28
|
+
}),
|
|
29
|
+
})),
|
|
30
|
+
safelyJSONStringify: globals_1.jest.fn((obj) => JSON.stringify(obj)),
|
|
31
|
+
TraceConfigOptions: {},
|
|
32
|
+
}));
|
|
33
|
+
(0, globals_1.describe)("Cohere Instrumentation", () => {
|
|
34
|
+
let instrumentation;
|
|
35
|
+
(0, globals_1.beforeEach)(() => {
|
|
36
|
+
globals_1.jest.clearAllMocks();
|
|
37
|
+
instrumentation = new instrumentation_1.CohereInstrumentation({
|
|
38
|
+
instrumentationConfig: {
|
|
39
|
+
enabled: true,
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
// Mock the tracer property
|
|
43
|
+
const mockTracer = {
|
|
44
|
+
startSpan: globals_1.jest.fn().mockReturnValue({
|
|
45
|
+
setStatus: globals_1.jest.fn(),
|
|
46
|
+
recordException: globals_1.jest.fn(),
|
|
47
|
+
setAttributes: globals_1.jest.fn(),
|
|
48
|
+
addEvent: globals_1.jest.fn(),
|
|
49
|
+
end: globals_1.jest.fn(),
|
|
50
|
+
isRecording: globals_1.jest.fn().mockReturnValue(true),
|
|
51
|
+
}),
|
|
52
|
+
startActiveSpan: globals_1.jest.fn((name, fn) => {
|
|
53
|
+
const mockSpan = {
|
|
54
|
+
setStatus: globals_1.jest.fn(),
|
|
55
|
+
recordException: globals_1.jest.fn(),
|
|
56
|
+
setAttributes: globals_1.jest.fn(),
|
|
57
|
+
addEvent: globals_1.jest.fn(),
|
|
58
|
+
end: globals_1.jest.fn(),
|
|
59
|
+
isRecording: globals_1.jest.fn().mockReturnValue(true),
|
|
60
|
+
};
|
|
61
|
+
return fn(mockSpan);
|
|
62
|
+
}),
|
|
63
|
+
};
|
|
64
|
+
Object.defineProperty(instrumentation, "tracer", {
|
|
65
|
+
get: () => mockTracer,
|
|
66
|
+
configurable: true,
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
(0, globals_1.afterEach)(() => {
|
|
70
|
+
instrumentation.disable();
|
|
71
|
+
});
|
|
72
|
+
(0, globals_1.describe)("Initialization", () => {
|
|
73
|
+
(0, globals_1.it)("should create instrumentation instance", () => {
|
|
74
|
+
(0, globals_1.expect)(instrumentation).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
75
|
+
});
|
|
76
|
+
(0, globals_1.it)("should initialize with default config", () => {
|
|
77
|
+
const defaultInstrumentation = new instrumentation_1.CohereInstrumentation();
|
|
78
|
+
(0, globals_1.expect)(defaultInstrumentation).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
79
|
+
});
|
|
80
|
+
(0, globals_1.it)("should initialize with custom instrumentation config", () => {
|
|
81
|
+
const customInstrumentation = new instrumentation_1.CohereInstrumentation({
|
|
82
|
+
instrumentationConfig: {
|
|
83
|
+
enabled: false,
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
(0, globals_1.expect)(customInstrumentation).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
87
|
+
});
|
|
88
|
+
(0, globals_1.it)("should initialize with trace config", () => {
|
|
89
|
+
const traceConfigInstrumentation = new instrumentation_1.CohereInstrumentation({
|
|
90
|
+
traceConfig: {
|
|
91
|
+
hideInputs: true,
|
|
92
|
+
hideOutputs: true,
|
|
93
|
+
},
|
|
94
|
+
});
|
|
95
|
+
(0, globals_1.expect)(traceConfigInstrumentation).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
96
|
+
});
|
|
97
|
+
(0, globals_1.it)("should have correct instrumentation name", () => {
|
|
98
|
+
(0, globals_1.expect)(instrumentation.instrumentationName).toBe("@traceai/cohere");
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
(0, globals_1.describe)("isPatched function", () => {
|
|
102
|
+
(0, globals_1.it)("should be a function", () => {
|
|
103
|
+
(0, globals_1.expect)(typeof instrumentation_1.isPatched).toBe("function");
|
|
104
|
+
});
|
|
105
|
+
(0, globals_1.it)("should return false initially", () => {
|
|
106
|
+
(0, globals_1.expect)(typeof (0, instrumentation_1.isPatched)()).toBe("boolean");
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
(0, globals_1.describe)("Instrumentation lifecycle", () => {
|
|
110
|
+
(0, globals_1.it)("should enable without errors", () => {
|
|
111
|
+
(0, globals_1.expect)(() => instrumentation.enable()).not.toThrow();
|
|
112
|
+
});
|
|
113
|
+
(0, globals_1.it)("should disable without errors", () => {
|
|
114
|
+
instrumentation.enable();
|
|
115
|
+
(0, globals_1.expect)(() => instrumentation.disable()).not.toThrow();
|
|
116
|
+
});
|
|
117
|
+
(0, globals_1.it)("should handle multiple enable calls", () => {
|
|
118
|
+
(0, globals_1.expect)(() => {
|
|
119
|
+
instrumentation.enable();
|
|
120
|
+
instrumentation.enable();
|
|
121
|
+
}).not.toThrow();
|
|
122
|
+
});
|
|
123
|
+
(0, globals_1.it)("should handle multiple disable calls", () => {
|
|
124
|
+
instrumentation.enable();
|
|
125
|
+
(0, globals_1.expect)(() => {
|
|
126
|
+
instrumentation.disable();
|
|
127
|
+
instrumentation.disable();
|
|
128
|
+
}).not.toThrow();
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
(0, globals_1.describe)("manuallyInstrument", () => {
|
|
132
|
+
(0, globals_1.it)("should accept a mock module with CohereClient", () => {
|
|
133
|
+
instrumentation.enable();
|
|
134
|
+
const mockModule = {
|
|
135
|
+
CohereClient: {
|
|
136
|
+
prototype: {
|
|
137
|
+
chat: globals_1.jest.fn(),
|
|
138
|
+
embed: globals_1.jest.fn(),
|
|
139
|
+
rerank: globals_1.jest.fn(),
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
};
|
|
143
|
+
(0, globals_1.expect)(() => instrumentation.manuallyInstrument(mockModule)).not.toThrow();
|
|
144
|
+
});
|
|
145
|
+
(0, globals_1.it)("should handle module without CohereClient property", () => {
|
|
146
|
+
instrumentation.enable();
|
|
147
|
+
const mockModule = {};
|
|
148
|
+
(0, globals_1.expect)(() => instrumentation.manuallyInstrument(mockModule)).not.toThrow();
|
|
149
|
+
});
|
|
150
|
+
(0, globals_1.it)("should handle module with partial structure", () => {
|
|
151
|
+
instrumentation.enable();
|
|
152
|
+
const mockModule = {
|
|
153
|
+
CohereClient: {
|
|
154
|
+
prototype: {},
|
|
155
|
+
},
|
|
156
|
+
};
|
|
157
|
+
(0, globals_1.expect)(() => instrumentation.manuallyInstrument(mockModule)).not.toThrow();
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
(0, globals_1.describe)("Cohere Instrumentation - Semantic Conventions", () => {
|
|
162
|
+
(0, globals_1.it)("should use correct LLM system identifier", () => {
|
|
163
|
+
const { LLMSystem, LLMProvider } = require("@traceai/fi-semantic-conventions");
|
|
164
|
+
(0, globals_1.expect)(LLMSystem.COHERE).toBe("cohere");
|
|
165
|
+
(0, globals_1.expect)(LLMProvider.COHERE).toBe("cohere");
|
|
166
|
+
});
|
|
167
|
+
(0, globals_1.it)("should use correct span kind for LLM and embedding operations", () => {
|
|
168
|
+
const { FISpanKind } = require("@traceai/fi-semantic-conventions");
|
|
169
|
+
(0, globals_1.expect)(FISpanKind.LLM).toBe("LLM");
|
|
170
|
+
(0, globals_1.expect)(FISpanKind.EMBEDDING).toBe("EMBEDDING");
|
|
171
|
+
});
|
|
172
|
+
});
|
|
173
|
+
(0, globals_1.describe)("Cohere Instrumentation - Configuration Options", () => {
|
|
174
|
+
(0, globals_1.it)("should accept empty configuration", () => {
|
|
175
|
+
const inst = new instrumentation_1.CohereInstrumentation({});
|
|
176
|
+
(0, globals_1.expect)(inst).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
177
|
+
});
|
|
178
|
+
(0, globals_1.it)("should accept only instrumentationConfig", () => {
|
|
179
|
+
const inst = new instrumentation_1.CohereInstrumentation({
|
|
180
|
+
instrumentationConfig: { enabled: true },
|
|
181
|
+
});
|
|
182
|
+
(0, globals_1.expect)(inst).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
183
|
+
});
|
|
184
|
+
(0, globals_1.it)("should accept only traceConfig", () => {
|
|
185
|
+
const inst = new instrumentation_1.CohereInstrumentation({
|
|
186
|
+
traceConfig: { hideInputs: false },
|
|
187
|
+
});
|
|
188
|
+
(0, globals_1.expect)(inst).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
189
|
+
});
|
|
190
|
+
(0, globals_1.it)("should accept both configs", () => {
|
|
191
|
+
const inst = new instrumentation_1.CohereInstrumentation({
|
|
192
|
+
instrumentationConfig: { enabled: true },
|
|
193
|
+
traceConfig: { hideInputs: false, hideOutputs: false },
|
|
194
|
+
});
|
|
195
|
+
(0, globals_1.expect)(inst).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
(0, globals_1.describe)("Cohere Instrumentation - Supported Models", () => {
|
|
199
|
+
const chatModels = [
|
|
200
|
+
"command",
|
|
201
|
+
"command-r",
|
|
202
|
+
"command-r-08-2024",
|
|
203
|
+
"command-light",
|
|
204
|
+
"command-nightly",
|
|
205
|
+
];
|
|
206
|
+
const embedModels = [
|
|
207
|
+
"embed-english-v3.0",
|
|
208
|
+
"embed-multilingual-v3.0",
|
|
209
|
+
"embed-english-light-v3.0",
|
|
210
|
+
"embed-multilingual-light-v3.0",
|
|
211
|
+
];
|
|
212
|
+
const rerankModels = [
|
|
213
|
+
"rerank-english-v3.0",
|
|
214
|
+
"rerank-multilingual-v3.0",
|
|
215
|
+
"rerank-english-v2.0",
|
|
216
|
+
"rerank-multilingual-v2.0",
|
|
217
|
+
];
|
|
218
|
+
chatModels.forEach((model) => {
|
|
219
|
+
(0, globals_1.it)(`should be able to configure instrumentation for chat model: ${model}`, () => {
|
|
220
|
+
const inst = new instrumentation_1.CohereInstrumentation();
|
|
221
|
+
(0, globals_1.expect)(inst).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
embedModels.forEach((model) => {
|
|
225
|
+
(0, globals_1.it)(`should be able to configure instrumentation for embed model: ${model}`, () => {
|
|
226
|
+
const inst = new instrumentation_1.CohereInstrumentation();
|
|
227
|
+
(0, globals_1.expect)(inst).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
rerankModels.forEach((model) => {
|
|
231
|
+
(0, globals_1.it)(`should be able to configure instrumentation for rerank model: ${model}`, () => {
|
|
232
|
+
const inst = new instrumentation_1.CohereInstrumentation();
|
|
233
|
+
(0, globals_1.expect)(inst).toBeInstanceOf(instrumentation_1.CohereInstrumentation);
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
});
|
|
237
|
+
(0, globals_1.describe)("Cohere Instrumentation - Version", () => {
|
|
238
|
+
(0, globals_1.it)("should export version", () => {
|
|
239
|
+
const { VERSION } = require("../version");
|
|
240
|
+
(0, globals_1.expect)(typeof VERSION).toBe("string");
|
|
241
|
+
(0, globals_1.expect)(VERSION).toBe("0.1.0");
|
|
242
|
+
});
|
|
243
|
+
});
|
|
244
|
+
(0, globals_1.describe)("Cohere Instrumentation - Type Utils", () => {
|
|
245
|
+
(0, globals_1.it)("should export isString utility", () => {
|
|
246
|
+
const { isString } = require("../typeUtils");
|
|
247
|
+
(0, globals_1.expect)(typeof isString).toBe("function");
|
|
248
|
+
(0, globals_1.expect)(isString("test")).toBe(true);
|
|
249
|
+
(0, globals_1.expect)(isString(123)).toBe(false);
|
|
250
|
+
(0, globals_1.expect)(isString(null)).toBe(false);
|
|
251
|
+
(0, globals_1.expect)(isString(undefined)).toBe(false);
|
|
252
|
+
});
|
|
253
|
+
(0, globals_1.it)("should export assertUnreachable utility", () => {
|
|
254
|
+
const { assertUnreachable } = require("../typeUtils");
|
|
255
|
+
(0, globals_1.expect)(typeof assertUnreachable).toBe("function");
|
|
256
|
+
(0, globals_1.expect)(() => assertUnreachable("test")).toThrow("Unreachable");
|
|
257
|
+
});
|
|
258
|
+
});
|
|
259
|
+
//# sourceMappingURL=instrumentation.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instrumentation.test.js","sourceRoot":"","sources":["../../../src/__tests__/instrumentation.test.ts"],"names":[],"mappings":";;AAAA,2CAAkF;AAClF,wDAAsE;AAEtE,wBAAwB;AACxB,cAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,GAAG,EAAE,CAAC,CAAC;IACnC,QAAQ,EAAE,cAAI,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,GAAG,EAAE,CAAC,CAAC;QAC5C,SAAS,EAAE,cAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC;YACnC,SAAS,EAAE,cAAI,CAAC,EAAE,EAAE;YACpB,YAAY,EAAE,cAAI,CAAC,EAAE,EAAE;YACvB,eAAe,EAAE,cAAI,CAAC,EAAE,EAAE;YAC1B,aAAa,EAAE,cAAI,CAAC,EAAE,EAAE;YACxB,QAAQ,EAAE,cAAI,CAAC,EAAE,EAAE;YACnB,GAAG,EAAE,cAAI,CAAC,EAAE,EAAE;YACd,WAAW,EAAE,cAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;YAC5C,WAAW,EAAE,cAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;SACnE,CAAC;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AAC,KAAK,CAAC,CAAC;IAC1C,CAAC,CAAC,CAAC;IAEH,IAAA,YAAE,EAAC,yCAAyC,EAAE,GAAG,EAAE;QACjD,MAAM,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;QACtD,IAAA,gBAAM,EAAC,OAAO,iBAAiB,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAClD,IAAA,gBAAM,EAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC,MAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./instrumentation"), exports);
|
|
18
|
+
__exportStar(require("./version"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,4CAA0B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { InstrumentationBase, InstrumentationConfig, InstrumentationNodeModuleDefinition } from "@opentelemetry/instrumentation";
|
|
2
|
+
import { TraceConfigOptions } from "@traceai/fi-core";
|
|
3
|
+
/**
|
|
4
|
+
* Function to check if instrumentation is enabled / disabled
|
|
5
|
+
*/
|
|
6
|
+
export declare function isPatched(): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* @param instrumentationConfig The config for the instrumentation
|
|
9
|
+
* @param traceConfig The FI trace configuration for masking sensitive information
|
|
10
|
+
*/
|
|
11
|
+
export declare class CohereInstrumentation extends InstrumentationBase {
|
|
12
|
+
private fiTracer;
|
|
13
|
+
private _traceConfig?;
|
|
14
|
+
readonly instrumentationName = "@traceai/cohere";
|
|
15
|
+
constructor({ instrumentationConfig, traceConfig, }?: {
|
|
16
|
+
instrumentationConfig?: InstrumentationConfig;
|
|
17
|
+
traceConfig?: TraceConfigOptions;
|
|
18
|
+
});
|
|
19
|
+
enable(): void;
|
|
20
|
+
protected init(): InstrumentationNodeModuleDefinition;
|
|
21
|
+
/**
|
|
22
|
+
* Manually instruments the Cohere module
|
|
23
|
+
*/
|
|
24
|
+
manuallyInstrument(module: Record<string, unknown>): void;
|
|
25
|
+
/**
|
|
26
|
+
* Patches the Cohere module
|
|
27
|
+
*/
|
|
28
|
+
private patch;
|
|
29
|
+
/**
|
|
30
|
+
* Un-patches the Cohere module
|
|
31
|
+
*/
|
|
32
|
+
private unpatch;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=instrumentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../src/instrumentation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,mCAAmC,EAEpC,MAAM,gCAAgC,CAAC;AAmBxC,OAAO,EAGL,kBAAkB,EACnB,MAAM,kBAAkB,CAAC;AAU1B;;GAEG;AACH,wBAAgB,SAAS,YAExB;AAyGD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,mBAAmB;IAC5D,OAAO,CAAC,QAAQ,CAAY;IAC5B,OAAO,CAAC,YAAY,CAAC,CAAqB;IAC1C,SAAgB,mBAAmB,qBAAqB;gBAE5C,EACV,qBAAqB,EACrB,WAAW,GACZ,GAAE;QACD,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;QAC9C,WAAW,CAAC,EAAE,kBAAkB,CAAC;KAC7B;IASU,MAAM,IAAI,IAAI;IAK9B,SAAS,CAAC,IAAI;IAUd;;OAEG;IACH,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAIlD;;OAEG;IACH,OAAO,CAAC,KAAK;IAoPb;;OAEG;IACH,OAAO,CAAC,OAAO;CA2BhB"}
|