@brizz/sdk 0.1.0-alpha.6
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/LICENSE +27 -0
- package/README.md +76 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/config.d.ts +17 -0
- package/dist/internal/config.d.ts.map +1 -0
- package/dist/internal/config.js +90 -0
- package/dist/internal/config.js.map +1 -0
- package/dist/internal/instrumentation/auto-init.d.ts +3 -0
- package/dist/internal/instrumentation/auto-init.d.ts.map +1 -0
- package/dist/internal/instrumentation/auto-init.js +82 -0
- package/dist/internal/instrumentation/auto-init.js.map +1 -0
- package/dist/internal/instrumentation/index.d.ts +2 -0
- package/dist/internal/instrumentation/index.d.ts.map +1 -0
- package/dist/internal/instrumentation/index.js +2 -0
- package/dist/internal/instrumentation/index.js.map +1 -0
- package/dist/internal/instrumentation/registry.d.ts +29 -0
- package/dist/internal/instrumentation/registry.d.ts.map +1 -0
- package/dist/internal/instrumentation/registry.js +88 -0
- package/dist/internal/instrumentation/registry.js.map +1 -0
- package/dist/internal/log/index.d.ts +2 -0
- package/dist/internal/log/index.d.ts.map +1 -0
- package/dist/internal/log/index.js +2 -0
- package/dist/internal/log/index.js.map +1 -0
- package/dist/internal/log/logging.d.ts +21 -0
- package/dist/internal/log/logging.d.ts.map +1 -0
- package/dist/internal/log/logging.js +149 -0
- package/dist/internal/log/logging.js.map +1 -0
- package/dist/internal/logger.d.ts +23 -0
- package/dist/internal/logger.d.ts.map +1 -0
- package/dist/internal/logger.js +155 -0
- package/dist/internal/logger.js.map +1 -0
- package/dist/internal/masking/index.d.ts +4 -0
- package/dist/internal/masking/index.d.ts.map +1 -0
- package/dist/internal/masking/index.js +3 -0
- package/dist/internal/masking/index.js.map +1 -0
- package/dist/internal/masking/patterns.d.ts +3 -0
- package/dist/internal/masking/patterns.d.ts.map +1 -0
- package/dist/internal/masking/patterns.js +375 -0
- package/dist/internal/masking/patterns.js.map +1 -0
- package/dist/internal/masking/types.d.ts +33 -0
- package/dist/internal/masking/types.d.ts.map +1 -0
- package/dist/internal/masking/types.js +2 -0
- package/dist/internal/masking/types.js.map +1 -0
- package/dist/internal/masking/utils.d.ts +6 -0
- package/dist/internal/masking/utils.d.ts.map +1 -0
- package/dist/internal/masking/utils.js +226 -0
- package/dist/internal/masking/utils.js.map +1 -0
- package/dist/internal/metric/index.d.ts +2 -0
- package/dist/internal/metric/index.d.ts.map +1 -0
- package/dist/internal/metric/index.js +2 -0
- package/dist/internal/metric/index.js.map +1 -0
- package/dist/internal/metric/metrics.d.ts +18 -0
- package/dist/internal/metric/metrics.d.ts.map +1 -0
- package/dist/internal/metric/metrics.js +82 -0
- package/dist/internal/metric/metrics.js.map +1 -0
- package/dist/internal/sdk.d.ts +36 -0
- package/dist/internal/sdk.d.ts.map +1 -0
- package/dist/internal/sdk.js +155 -0
- package/dist/internal/sdk.js.map +1 -0
- package/dist/internal/trace/index.d.ts +3 -0
- package/dist/internal/trace/index.d.ts.map +1 -0
- package/dist/internal/trace/index.js +3 -0
- package/dist/internal/trace/index.js.map +1 -0
- package/dist/internal/trace/processors/log-masked.d.ts +16 -0
- package/dist/internal/trace/processors/log-masked.d.ts.map +1 -0
- package/dist/internal/trace/processors/log-masked.js +75 -0
- package/dist/internal/trace/processors/log-masked.js.map +1 -0
- package/dist/internal/trace/processors/span-masked.d.ts +16 -0
- package/dist/internal/trace/processors/span-masked.d.ts.map +1 -0
- package/dist/internal/trace/processors/span-masked.js +81 -0
- package/dist/internal/trace/processors/span-masked.js.map +1 -0
- package/dist/internal/trace/tracing.d.ts +18 -0
- package/dist/internal/trace/tracing.d.ts.map +1 -0
- package/dist/internal/trace/tracing.js +97 -0
- package/dist/internal/trace/tracing.js.map +1 -0
- package/package.json +130 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http';
|
|
2
|
+
import { BatchSpanProcessor, SimpleSpanProcessor } from '@opentelemetry/sdk-trace-base';
|
|
3
|
+
import { logger } from '../logger';
|
|
4
|
+
import { MaskedBatchSpanProcessor, MaskedSimpleSpanProcessor } from './processors/span-masked';
|
|
5
|
+
export class TracingModule {
|
|
6
|
+
static instance = null;
|
|
7
|
+
spanExporter = null;
|
|
8
|
+
spanProcessor = null;
|
|
9
|
+
static getInstance() {
|
|
10
|
+
if (!TracingModule.instance) {
|
|
11
|
+
throw new Error('Brizz must be initialized before accessing TracingModule');
|
|
12
|
+
}
|
|
13
|
+
return TracingModule.instance;
|
|
14
|
+
}
|
|
15
|
+
setup(config) {
|
|
16
|
+
logger.info('Setting up tracing module');
|
|
17
|
+
this.initSpanExporter(config);
|
|
18
|
+
this.initSpanProcessor(config);
|
|
19
|
+
TracingModule.instance = this;
|
|
20
|
+
logger.info('Tracing module setup completed');
|
|
21
|
+
}
|
|
22
|
+
initSpanExporter(config) {
|
|
23
|
+
if (this.spanExporter) {
|
|
24
|
+
logger.debug('Span exporter already initialized, skipping re-initialization');
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
if (config.customSpanExporter) {
|
|
28
|
+
logger.debug('Using custom span exporter');
|
|
29
|
+
this.spanExporter = config.customSpanExporter;
|
|
30
|
+
logger.debug('Custom span exporter initialized successfully');
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
const tracesUrl = config.baseUrl.replace(/\/$/, '') + '/v1/traces';
|
|
34
|
+
logger.debug('Initializing default OTLP span exporter', { url: tracesUrl });
|
|
35
|
+
this.spanExporter = new OTLPTraceExporter({
|
|
36
|
+
url: tracesUrl,
|
|
37
|
+
headers: config.headers,
|
|
38
|
+
});
|
|
39
|
+
logger.debug('OTLP span exporter initialized successfully');
|
|
40
|
+
}
|
|
41
|
+
initSpanProcessor(config) {
|
|
42
|
+
if (this.spanProcessor) {
|
|
43
|
+
logger.debug('Span processor already initialized, skipping re-initialization');
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
if (!this.spanExporter) {
|
|
47
|
+
throw new Error('Span exporter must be initialized before processor');
|
|
48
|
+
}
|
|
49
|
+
logger.debug('Initializing span processor', {
|
|
50
|
+
disableBatch: config.disableBatch,
|
|
51
|
+
hasMasking: !!config.masking?.spanMasking,
|
|
52
|
+
});
|
|
53
|
+
if (config.masking?.spanMasking) {
|
|
54
|
+
this.spanProcessor = config.disableBatch
|
|
55
|
+
? new MaskedSimpleSpanProcessor(this.spanExporter, config.masking.spanMasking)
|
|
56
|
+
: new MaskedBatchSpanProcessor(this.spanExporter, config.masking.spanMasking);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
this.spanProcessor = config.disableBatch
|
|
60
|
+
? new SimpleSpanProcessor(this.spanExporter)
|
|
61
|
+
: new BatchSpanProcessor(this.spanExporter);
|
|
62
|
+
}
|
|
63
|
+
logger.debug('Span processor initialized successfully');
|
|
64
|
+
}
|
|
65
|
+
getSpanExporter() {
|
|
66
|
+
if (!this.spanExporter) {
|
|
67
|
+
throw new Error('Tracing module not initialized');
|
|
68
|
+
}
|
|
69
|
+
return this.spanExporter;
|
|
70
|
+
}
|
|
71
|
+
getSpanProcessor() {
|
|
72
|
+
if (!this.spanProcessor) {
|
|
73
|
+
throw new Error('Tracing module not initialized');
|
|
74
|
+
}
|
|
75
|
+
return this.spanProcessor;
|
|
76
|
+
}
|
|
77
|
+
async shutdown() {
|
|
78
|
+
logger.debug('Shutting down tracing module');
|
|
79
|
+
if (this.spanProcessor) {
|
|
80
|
+
await this.spanProcessor.shutdown();
|
|
81
|
+
this.spanProcessor = null;
|
|
82
|
+
}
|
|
83
|
+
if (this.spanExporter) {
|
|
84
|
+
await this.spanExporter.shutdown();
|
|
85
|
+
this.spanExporter = null;
|
|
86
|
+
}
|
|
87
|
+
TracingModule.instance = null;
|
|
88
|
+
logger.debug('Tracing module shutdown completed');
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
export function getSpanExporter() {
|
|
92
|
+
return TracingModule.getInstance().getSpanExporter();
|
|
93
|
+
}
|
|
94
|
+
export function getSpanProcessor() {
|
|
95
|
+
return TracingModule.getInstance().getSpanProcessor();
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=tracing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../../src/internal/trace/tracing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAE5E,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAIxF,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAE/F,MAAM,OAAO,aAAa;IAChB,MAAM,CAAC,QAAQ,GAAyB,IAAI,CAAC;IAC7C,YAAY,GAAwB,IAAI,CAAC;IACzC,aAAa,GAAyB,IAAI,CAAC;IAEnD,MAAM,CAAC,WAAW;QAChB,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;QAC9E,CAAC;QACD,OAAO,aAAa,CAAC,QAAQ,CAAC;IAChC,CAAC;IAKD,KAAK,CAAC,MAA4B;QAChC,MAAM,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;QAGzC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAG9B,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAG/B,aAAa,CAAC,QAAQ,GAAG,IAAI,CAAC;QAE9B,MAAM,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC;IAChD,CAAC;IAKO,gBAAgB,CAAC,MAA4B;QACnD,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;YACtB,MAAM,CAAC,KAAK,C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mC,CAAC,CAAC;IACpD,CAAC;;AAOH,MAAM,UAAU,eAAe;IAC7B,OAAO,aAAa,CAAC,WAAW,EAAE,CAAC,eAAe,EAAE,CAAC;AACvD,CAAC;AAMD,MAAM,UAAU,gBAAgB;IAC9B,OAAO,aAAa,CAAC,WAAW,EAAE,CAAC,gBAAgB,EAAE,CAAC;AACxD,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@brizz/sdk",
|
|
3
|
+
"version": "0.1.0-alpha.6",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "OpenTelemetry-based observability SDK for AI applications",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"brizz",
|
|
8
|
+
"sdk",
|
|
9
|
+
"api",
|
|
10
|
+
"typescript",
|
|
11
|
+
"client",
|
|
12
|
+
"ai",
|
|
13
|
+
"observability",
|
|
14
|
+
"tracing",
|
|
15
|
+
"monitoring",
|
|
16
|
+
"llm",
|
|
17
|
+
"openai",
|
|
18
|
+
"anthropic",
|
|
19
|
+
"telemetry"
|
|
20
|
+
],
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"author": {
|
|
23
|
+
"name": "Brizz",
|
|
24
|
+
"email": "support@brizz.com",
|
|
25
|
+
"url": "https://brizz.com"
|
|
26
|
+
},
|
|
27
|
+
"main": "./dist/index.js",
|
|
28
|
+
"module": "./dist/index.js",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"README.md"
|
|
34
|
+
],
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"import": "./dist/index.js",
|
|
39
|
+
"require": "./dist/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./package.json": "./package.json"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=18.0.0"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public",
|
|
48
|
+
"registry": "https://registry.npmjs.org/"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@changesets/changelog-github": "^0.5.1",
|
|
52
|
+
"@changesets/cli": "^2.29.5",
|
|
53
|
+
"@eslint/js": "^9.0.0",
|
|
54
|
+
"@types/jest": "^29.5.0",
|
|
55
|
+
"@types/node": "^20.0.0",
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
57
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
58
|
+
"eslint": "^9.0.0",
|
|
59
|
+
"eslint-config-prettier": "^9.0.0",
|
|
60
|
+
"eslint-plugin-import": "^2.0.0",
|
|
61
|
+
"eslint-plugin-promise": "^7.0.0",
|
|
62
|
+
"eslint-plugin-unicorn": "^56.0.0",
|
|
63
|
+
"jest": "^29.5.0",
|
|
64
|
+
"prettier": "^3.0.0",
|
|
65
|
+
"ts-jest": "^29.1.0",
|
|
66
|
+
"typescript": "^5.0.0"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"typescript": ">=5.0.0"
|
|
70
|
+
},
|
|
71
|
+
"peerDependenciesMeta": {
|
|
72
|
+
"typescript": {
|
|
73
|
+
"optional": true
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"@opentelemetry/api": "^1.9.0",
|
|
78
|
+
"@opentelemetry/api-logs": "^0.203.0",
|
|
79
|
+
"@opentelemetry/auto-instrumentations-node": "^0.62.0",
|
|
80
|
+
"@opentelemetry/core": "^2.0.1",
|
|
81
|
+
"@opentelemetry/exporter-logs-otlp-http": "^0.203.0",
|
|
82
|
+
"@opentelemetry/exporter-metrics-otlp-http": "^0.203.0",
|
|
83
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.203.0",
|
|
84
|
+
"@opentelemetry/instrumentation": "^0.203.0",
|
|
85
|
+
"@opentelemetry/resources": "^2.0.1",
|
|
86
|
+
"@opentelemetry/sdk-logs": "^0.203.0",
|
|
87
|
+
"@opentelemetry/sdk-metrics": "^2.0.1",
|
|
88
|
+
"@opentelemetry/sdk-node": "^0.203.0",
|
|
89
|
+
"@opentelemetry/sdk-trace-base": "^2.0.1",
|
|
90
|
+
"@opentelemetry/sdk-trace-node": "^2.0.1",
|
|
91
|
+
"@opentelemetry/semantic-conventions": "^1.36.0",
|
|
92
|
+
"@traceloop/ai-semantic-conventions": "^v0.14.0",
|
|
93
|
+
"@traceloop/instrumentation-anthropic": "^v0.14.6",
|
|
94
|
+
"@traceloop/instrumentation-bedrock": "^v0.14.6",
|
|
95
|
+
"@traceloop/instrumentation-chromadb": "^v0.14.6",
|
|
96
|
+
"@traceloop/instrumentation-cohere": "^v0.14.6",
|
|
97
|
+
"@traceloop/instrumentation-langchain": "^v0.14.6",
|
|
98
|
+
"@traceloop/instrumentation-llamaindex": "^v0.14.6",
|
|
99
|
+
"@traceloop/instrumentation-openai": "^v0.14.6",
|
|
100
|
+
"@traceloop/instrumentation-pinecone": "^v0.14.6",
|
|
101
|
+
"@traceloop/instrumentation-qdrant": "^v0.14.6",
|
|
102
|
+
"@traceloop/instrumentation-together": "^v0.14.6",
|
|
103
|
+
"@traceloop/instrumentation-vertexai": "^v0.14.6",
|
|
104
|
+
"tslib": "^2.6.0",
|
|
105
|
+
"winston": "^3.17.0"
|
|
106
|
+
},
|
|
107
|
+
"scripts": {
|
|
108
|
+
"build": "pnpm run clean && tsc -p tsconfig.build.json",
|
|
109
|
+
"build:watch": "tsc -p tsconfig.build.json --watch",
|
|
110
|
+
"dev": "pnpm run build:watch",
|
|
111
|
+
"test": "jest",
|
|
112
|
+
"test:watch": "jest --watch",
|
|
113
|
+
"test:coverage": "jest --coverage",
|
|
114
|
+
"lint": "eslint .",
|
|
115
|
+
"lint:fix": "eslint . --fix",
|
|
116
|
+
"format": "prettier --write .",
|
|
117
|
+
"format:check": "prettier --check .",
|
|
118
|
+
"type-check": "tsc --noEmit",
|
|
119
|
+
"clean": "rm -rf dist coverage *.tsbuildinfo .cache",
|
|
120
|
+
"clean:all": "pnpm run clean && rm -rf node_modules pnpm-lock.yaml",
|
|
121
|
+
"quality": "pnpm run lint && pnpm run format && pnpm run type-check && pnpm run test",
|
|
122
|
+
"pack": "pnpm run build && pnpm pack",
|
|
123
|
+
"changeset": "changeset",
|
|
124
|
+
"changeset:version": "changeset version && pnpm install --lockfile-only",
|
|
125
|
+
"changeset:publish": "pnpm build && changeset publish",
|
|
126
|
+
"changeset:status": "changeset status --verbose",
|
|
127
|
+
"prerelease:enter": "changeset pre enter",
|
|
128
|
+
"prerelease:exit": "changeset pre exit"
|
|
129
|
+
}
|
|
130
|
+
}
|