@pingops/otel 0.3.0 → 0.4.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 +27 -4
- package/dist/index.cjs +559 -149
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -56
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +18 -56
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +560 -150
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { ReadableSpan, Span, SpanProcessor } from "@opentelemetry/sdk-trace-base";
|
|
2
2
|
import { Attributes, Context, Span as Span$1, TracerProvider } from "@opentelemetry/api";
|
|
3
|
-
import { DomainRule,
|
|
3
|
+
import { DomainRule, HttpTransformConfig } from "@pingops/core";
|
|
4
4
|
import "@opentelemetry/sdk-trace-node";
|
|
5
5
|
import { Instrumentation, InstrumentationBase, InstrumentationConfig } from "@opentelemetry/instrumentation";
|
|
6
6
|
import { HttpInstrumentation, HttpInstrumentationConfig } from "@opentelemetry/instrumentation-http";
|
|
7
7
|
|
|
8
|
+
//#region src/llm/types.d.ts
|
|
9
|
+
type LlmProvider = "openai" | "anthropic" | "gemini" | "xai";
|
|
10
|
+
interface LlmMonitoringConfig {
|
|
11
|
+
enabled?: boolean;
|
|
12
|
+
streaming?: boolean;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
8
15
|
//#region src/config.d.ts
|
|
9
|
-
|
|
10
16
|
/**
|
|
11
17
|
* Span export mode to use.
|
|
12
18
|
*
|
|
@@ -44,14 +50,6 @@ interface PingopsProcessorConfig {
|
|
|
44
50
|
* Service name for resource identification (required).
|
|
45
51
|
*/
|
|
46
52
|
serviceName: string;
|
|
47
|
-
/**
|
|
48
|
-
* List of headers to include (case-insensitive).
|
|
49
|
-
*/
|
|
50
|
-
headersAllowList?: string[];
|
|
51
|
-
/**
|
|
52
|
-
* List of headers to exclude (case-insensitive, takes precedence over allow list).
|
|
53
|
-
*/
|
|
54
|
-
headersDenyList?: string[];
|
|
55
53
|
/**
|
|
56
54
|
* Capture request body.
|
|
57
55
|
*/
|
|
@@ -60,26 +58,6 @@ interface PingopsProcessorConfig {
|
|
|
60
58
|
* Capture response body.
|
|
61
59
|
*/
|
|
62
60
|
captureResponseBody?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Maximum size of request body to capture (bytes).
|
|
65
|
-
* Applies to both `http` and `undici` instrumentations.
|
|
66
|
-
*
|
|
67
|
-
* Note: this is the number of raw bytes observed at the instrumentation layer.
|
|
68
|
-
* For compressed bodies, this is the compressed size.
|
|
69
|
-
*
|
|
70
|
-
* @defaultValue 10240 (10 KB)
|
|
71
|
-
*/
|
|
72
|
-
maxRequestBodySize?: number;
|
|
73
|
-
/**
|
|
74
|
-
* Maximum size of response body to capture (bytes).
|
|
75
|
-
* Applies to both `http` and `undici` instrumentations.
|
|
76
|
-
*
|
|
77
|
-
* Note: this is the number of raw bytes observed at the instrumentation layer.
|
|
78
|
-
* For compressed bodies, this is the compressed size.
|
|
79
|
-
*
|
|
80
|
-
* @defaultValue 10240 (10 KB)
|
|
81
|
-
*/
|
|
82
|
-
maxResponseBodySize?: number;
|
|
83
61
|
/**
|
|
84
62
|
* Domain allow list rules.
|
|
85
63
|
*/
|
|
@@ -89,10 +67,14 @@ interface PingopsProcessorConfig {
|
|
|
89
67
|
*/
|
|
90
68
|
domainDenyList?: DomainRule[];
|
|
91
69
|
/**
|
|
92
|
-
*
|
|
93
|
-
*
|
|
70
|
+
* LLM monitoring configuration for GenAI semantic attributes and token usage.
|
|
71
|
+
* Disabled by default.
|
|
72
|
+
*/
|
|
73
|
+
llmMonitoring?: LlmMonitoringConfig;
|
|
74
|
+
/**
|
|
75
|
+
* Outbound HTTP transform rules for headers, bodies, and query params.
|
|
94
76
|
*/
|
|
95
|
-
|
|
77
|
+
transforms?: HttpTransformConfig;
|
|
96
78
|
/**
|
|
97
79
|
* Number of spans to batch before flushing (only used in batched mode).
|
|
98
80
|
* @defaultValue 50
|
|
@@ -206,18 +188,7 @@ declare const PingopsSemanticAttributes: {
|
|
|
206
188
|
HTTP_REQUEST_BODY_SIZE: string;
|
|
207
189
|
HTTP_RESPONSE_BODY_SIZE: string;
|
|
208
190
|
};
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Maximum size of request body to capture in bytes
|
|
212
|
-
* @defaultValue 10240 (10 KB)
|
|
213
|
-
*/
|
|
214
|
-
maxRequestBodySize?: number;
|
|
215
|
-
/**
|
|
216
|
-
* Maximum size of response body to capture in bytes
|
|
217
|
-
* @defaultValue 10240 (10 KB)
|
|
218
|
-
*/
|
|
219
|
-
maxResponseBodySize?: number;
|
|
220
|
-
}
|
|
191
|
+
type PingopsInstrumentationConfig = {};
|
|
221
192
|
declare const PingopsHttpSemanticAttributes: {
|
|
222
193
|
HTTP_REQUEST_BODY: string;
|
|
223
194
|
HTTP_RESPONSE_BODY: string;
|
|
@@ -226,6 +197,7 @@ declare const PingopsHttpSemanticAttributes: {
|
|
|
226
197
|
};
|
|
227
198
|
interface PingopsHttpInstrumentationConfig extends HttpInstrumentationConfig, PingopsInstrumentationConfig {}
|
|
228
199
|
declare class PingopsHttpInstrumentation extends HttpInstrumentation {
|
|
200
|
+
private _llmStateByRequest;
|
|
229
201
|
constructor(config?: PingopsHttpInstrumentationConfig);
|
|
230
202
|
/**
|
|
231
203
|
* HttpInstrumentation's span creation is private, so we wrap the instance method
|
|
@@ -298,16 +270,6 @@ interface UndiciInstrumentationConfig<RequestType = UndiciRequest, ResponseType
|
|
|
298
270
|
requestHeaders?: string[];
|
|
299
271
|
responseHeaders?: string[];
|
|
300
272
|
};
|
|
301
|
-
/**
|
|
302
|
-
* Maximum size of request body to capture in bytes
|
|
303
|
-
* @defaultValue 10240 (10 KB)
|
|
304
|
-
*/
|
|
305
|
-
maxRequestBodySize?: number;
|
|
306
|
-
/**
|
|
307
|
-
* Maximum size of response body to capture in bytes
|
|
308
|
-
* @defaultValue 10240 (10 KB)
|
|
309
|
-
*/
|
|
310
|
-
maxResponseBodySize?: number;
|
|
311
273
|
}
|
|
312
274
|
//#endregion
|
|
313
275
|
//#region src/instrumentations/undici/pingops-undici.d.ts
|
|
@@ -343,5 +305,5 @@ declare class UndiciInstrumentation extends InstrumentationBase<UndiciInstrument
|
|
|
343
305
|
*/
|
|
344
306
|
declare function createUndiciInstrumentation(): UndiciInstrumentation;
|
|
345
307
|
//#endregion
|
|
346
|
-
export { PingopsHttpInstrumentation, type PingopsHttpInstrumentationConfig, PingopsHttpSemanticAttributes, type PingopsInstrumentationConfig, type PingopsProcessorConfig, PingopsSemanticAttributes, PingopsSpanProcessor, createHttpInstrumentation, createUndiciInstrumentation, getInstrumentations, getPingopsTracerProvider, setPingopsTracerProvider, shutdownTracerProvider };
|
|
308
|
+
export { type LlmMonitoringConfig, type LlmProvider, PingopsHttpInstrumentation, type PingopsHttpInstrumentationConfig, PingopsHttpSemanticAttributes, type PingopsInstrumentationConfig, type PingopsProcessorConfig, PingopsSemanticAttributes, PingopsSpanProcessor, createHttpInstrumentation, createUndiciInstrumentation, getInstrumentations, getPingopsTracerProvider, setPingopsTracerProvider, shutdownTracerProvider };
|
|
347
309
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/config.ts","../src/span-processor.ts","../src/tracer-provider.ts","../src/instrumentations/index.ts","../src/instrumentations/http/pingops-http.ts","../src/instrumentations/http/http.ts","../src/instrumentations/undici/types.ts","../src/instrumentations/undici/pingops-undici.ts","../src/instrumentations/undici/undici.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/llm/types.ts","../src/config.ts","../src/span-processor.ts","../src/tracer-provider.ts","../src/instrumentations/index.ts","../src/instrumentations/http/pingops-http.ts","../src/instrumentations/http/http.ts","../src/instrumentations/undici/types.ts","../src/instrumentations/undici/pingops-undici.ts","../src/instrumentations/undici/undici.ts"],"sourcesContent":[],"mappings":";;;;;;;;KAEY,WAAA;UAEK,mBAAA;;;;;;;;;AAFjB;AAEA;;;;ACaA;AAKA;AAyCoB,KA9CR,iBAAA,GA8CQ,WAAA,GAAA,SAAA;;;;AAwCL,UAjFE,sBAAA,CAiFF;EAAiB;;;;ECsCnB,UAAA,CAAA,EAAA,MAAA;EAkBS;;;EAsGR,MAAA,CAAA,EAAA,MAAA;EAgGe;;;EAxN6B,OAAA,EAAA,MAAA;;;;AC1C1D;EA6BgB,KAAA,CAAA,EAAA,OAAA;EA2EM;;;;EC1LN;;;;ECgCH;AAMb;AAiUA;EAEiB,mBAAA,CAAA,EAAA,OAAA;EAIJ;;;oBJ/TO;EKRJ;;;EAEb,cAAA,CAAA,ELWgB,UKXhB,EAAA;EAA0B;;;;ECtDZ,aAAA,CAAA,ENuEC,mBMvEY;EAuBb;AAMjB;AAEA;EAAoC,UAAA,CAAA,EN6CrB,mBM7CqB;EAC5B;;;AAIR;EACgB,SAAA,CAAA,EAAA,MAAA;EACC;;;;EAGqC,YAAA,CAAA,EAAA,MAAA;EAG1C;;;;;AAMZ;;;;;EAOoC,UAAA,CAAA,EN2CrB,iBM3CqB;;;;;;AJuCpC;AA6BA;AA2EA;;;cD9Da,oBAAA,YAAgC;EE5H7B,QAAA,SAAA;;;;ACgChB;AAMA;AAiUA;AAEA;EAIa,WAAA,CAAA,MAAA,EH/NS,sBGkOC;;;;EC1UP,OAAA,CAAA,IAAA,EJuKA,IIvKA,EAAA,aAAyB,EJuKJ,OIvKI,CAAA,EAAA,IAAA;EACtB;;;;;;;ACrDnB;AAuBA;EAMY,KAAA,CAAA,IAAA,ELqOE,YKrOmB,CAAA,EAAA,IAAA;EAErB;;;;;EAKA,UAAA,CAAA,CAAA,EL8TiB,OK9TjB,CAAA,IAAoB,CAAA;EAChB;;;;;EAIsC,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";
|
|
2
|
-
import { DomainRule,
|
|
2
|
+
import { DomainRule, HttpTransformConfig } from "@pingops/core";
|
|
3
3
|
import { Attributes, Context, Span as Span$1, TracerProvider } from "@opentelemetry/api";
|
|
4
4
|
import "@opentelemetry/sdk-trace-node";
|
|
5
5
|
import { HttpInstrumentation, HttpInstrumentationConfig } from "@opentelemetry/instrumentation-http";
|
|
6
6
|
import { Instrumentation, InstrumentationBase, InstrumentationConfig } from "@opentelemetry/instrumentation";
|
|
7
7
|
|
|
8
|
+
//#region src/llm/types.d.ts
|
|
9
|
+
type LlmProvider = "openai" | "anthropic" | "gemini" | "xai";
|
|
10
|
+
interface LlmMonitoringConfig {
|
|
11
|
+
enabled?: boolean;
|
|
12
|
+
streaming?: boolean;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
8
15
|
//#region src/config.d.ts
|
|
9
|
-
|
|
10
16
|
/**
|
|
11
17
|
* Span export mode to use.
|
|
12
18
|
*
|
|
@@ -44,14 +50,6 @@ interface PingopsProcessorConfig {
|
|
|
44
50
|
* Service name for resource identification (required).
|
|
45
51
|
*/
|
|
46
52
|
serviceName: string;
|
|
47
|
-
/**
|
|
48
|
-
* List of headers to include (case-insensitive).
|
|
49
|
-
*/
|
|
50
|
-
headersAllowList?: string[];
|
|
51
|
-
/**
|
|
52
|
-
* List of headers to exclude (case-insensitive, takes precedence over allow list).
|
|
53
|
-
*/
|
|
54
|
-
headersDenyList?: string[];
|
|
55
53
|
/**
|
|
56
54
|
* Capture request body.
|
|
57
55
|
*/
|
|
@@ -60,26 +58,6 @@ interface PingopsProcessorConfig {
|
|
|
60
58
|
* Capture response body.
|
|
61
59
|
*/
|
|
62
60
|
captureResponseBody?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Maximum size of request body to capture (bytes).
|
|
65
|
-
* Applies to both `http` and `undici` instrumentations.
|
|
66
|
-
*
|
|
67
|
-
* Note: this is the number of raw bytes observed at the instrumentation layer.
|
|
68
|
-
* For compressed bodies, this is the compressed size.
|
|
69
|
-
*
|
|
70
|
-
* @defaultValue 10240 (10 KB)
|
|
71
|
-
*/
|
|
72
|
-
maxRequestBodySize?: number;
|
|
73
|
-
/**
|
|
74
|
-
* Maximum size of response body to capture (bytes).
|
|
75
|
-
* Applies to both `http` and `undici` instrumentations.
|
|
76
|
-
*
|
|
77
|
-
* Note: this is the number of raw bytes observed at the instrumentation layer.
|
|
78
|
-
* For compressed bodies, this is the compressed size.
|
|
79
|
-
*
|
|
80
|
-
* @defaultValue 10240 (10 KB)
|
|
81
|
-
*/
|
|
82
|
-
maxResponseBodySize?: number;
|
|
83
61
|
/**
|
|
84
62
|
* Domain allow list rules.
|
|
85
63
|
*/
|
|
@@ -89,10 +67,14 @@ interface PingopsProcessorConfig {
|
|
|
89
67
|
*/
|
|
90
68
|
domainDenyList?: DomainRule[];
|
|
91
69
|
/**
|
|
92
|
-
*
|
|
93
|
-
*
|
|
70
|
+
* LLM monitoring configuration for GenAI semantic attributes and token usage.
|
|
71
|
+
* Disabled by default.
|
|
72
|
+
*/
|
|
73
|
+
llmMonitoring?: LlmMonitoringConfig;
|
|
74
|
+
/**
|
|
75
|
+
* Outbound HTTP transform rules for headers, bodies, and query params.
|
|
94
76
|
*/
|
|
95
|
-
|
|
77
|
+
transforms?: HttpTransformConfig;
|
|
96
78
|
/**
|
|
97
79
|
* Number of spans to batch before flushing (only used in batched mode).
|
|
98
80
|
* @defaultValue 50
|
|
@@ -206,18 +188,7 @@ declare const PingopsSemanticAttributes: {
|
|
|
206
188
|
HTTP_REQUEST_BODY_SIZE: string;
|
|
207
189
|
HTTP_RESPONSE_BODY_SIZE: string;
|
|
208
190
|
};
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Maximum size of request body to capture in bytes
|
|
212
|
-
* @defaultValue 10240 (10 KB)
|
|
213
|
-
*/
|
|
214
|
-
maxRequestBodySize?: number;
|
|
215
|
-
/**
|
|
216
|
-
* Maximum size of response body to capture in bytes
|
|
217
|
-
* @defaultValue 10240 (10 KB)
|
|
218
|
-
*/
|
|
219
|
-
maxResponseBodySize?: number;
|
|
220
|
-
}
|
|
191
|
+
type PingopsInstrumentationConfig = {};
|
|
221
192
|
declare const PingopsHttpSemanticAttributes: {
|
|
222
193
|
HTTP_REQUEST_BODY: string;
|
|
223
194
|
HTTP_RESPONSE_BODY: string;
|
|
@@ -226,6 +197,7 @@ declare const PingopsHttpSemanticAttributes: {
|
|
|
226
197
|
};
|
|
227
198
|
interface PingopsHttpInstrumentationConfig extends HttpInstrumentationConfig, PingopsInstrumentationConfig {}
|
|
228
199
|
declare class PingopsHttpInstrumentation extends HttpInstrumentation {
|
|
200
|
+
private _llmStateByRequest;
|
|
229
201
|
constructor(config?: PingopsHttpInstrumentationConfig);
|
|
230
202
|
/**
|
|
231
203
|
* HttpInstrumentation's span creation is private, so we wrap the instance method
|
|
@@ -298,16 +270,6 @@ interface UndiciInstrumentationConfig<RequestType = UndiciRequest, ResponseType
|
|
|
298
270
|
requestHeaders?: string[];
|
|
299
271
|
responseHeaders?: string[];
|
|
300
272
|
};
|
|
301
|
-
/**
|
|
302
|
-
* Maximum size of request body to capture in bytes
|
|
303
|
-
* @defaultValue 10240 (10 KB)
|
|
304
|
-
*/
|
|
305
|
-
maxRequestBodySize?: number;
|
|
306
|
-
/**
|
|
307
|
-
* Maximum size of response body to capture in bytes
|
|
308
|
-
* @defaultValue 10240 (10 KB)
|
|
309
|
-
*/
|
|
310
|
-
maxResponseBodySize?: number;
|
|
311
273
|
}
|
|
312
274
|
//#endregion
|
|
313
275
|
//#region src/instrumentations/undici/pingops-undici.d.ts
|
|
@@ -343,5 +305,5 @@ declare class UndiciInstrumentation extends InstrumentationBase<UndiciInstrument
|
|
|
343
305
|
*/
|
|
344
306
|
declare function createUndiciInstrumentation(): UndiciInstrumentation;
|
|
345
307
|
//#endregion
|
|
346
|
-
export { PingopsHttpInstrumentation, type PingopsHttpInstrumentationConfig, PingopsHttpSemanticAttributes, type PingopsInstrumentationConfig, type PingopsProcessorConfig, PingopsSemanticAttributes, PingopsSpanProcessor, createHttpInstrumentation, createUndiciInstrumentation, getInstrumentations, getPingopsTracerProvider, setPingopsTracerProvider, shutdownTracerProvider };
|
|
308
|
+
export { type LlmMonitoringConfig, type LlmProvider, PingopsHttpInstrumentation, type PingopsHttpInstrumentationConfig, PingopsHttpSemanticAttributes, type PingopsInstrumentationConfig, type PingopsProcessorConfig, PingopsSemanticAttributes, PingopsSpanProcessor, createHttpInstrumentation, createUndiciInstrumentation, getInstrumentations, getPingopsTracerProvider, setPingopsTracerProvider, shutdownTracerProvider };
|
|
347
309
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/config.ts","../src/span-processor.ts","../src/tracer-provider.ts","../src/instrumentations/index.ts","../src/instrumentations/http/pingops-http.ts","../src/instrumentations/http/http.ts","../src/instrumentations/undici/types.ts","../src/instrumentations/undici/pingops-undici.ts","../src/instrumentations/undici/undici.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/llm/types.ts","../src/config.ts","../src/span-processor.ts","../src/tracer-provider.ts","../src/instrumentations/index.ts","../src/instrumentations/http/pingops-http.ts","../src/instrumentations/http/http.ts","../src/instrumentations/undici/types.ts","../src/instrumentations/undici/pingops-undici.ts","../src/instrumentations/undici/undici.ts"],"sourcesContent":[],"mappings":";;;;;;;;KAEY,WAAA;UAEK,mBAAA;;;;;;;;;AAFjB;AAEA;;;;ACaA;AAKA;AAyCoB,KA9CR,iBAAA,GA8CQ,WAAA,GAAA,SAAA;;;;AAwCL,UAjFE,sBAAA,CAiFF;EAAiB;;;;ECsCnB,UAAA,CAAA,EAAA,MAAA;EAkBS;;;EAsGR,MAAA,CAAA,EAAA,MAAA;EAgGe;;;EAxN6B,OAAA,EAAA,MAAA;;;;AC1C1D;EA6BgB,KAAA,CAAA,EAA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