@xylabs/telemetry-exporter 5.0.83 → 5.0.86
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
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
|
|
17
17
|
|
|
18
|
+
|
|
19
|
+
|
|
18
20
|
## Reference
|
|
19
21
|
|
|
20
22
|
**@xylabs/telemetry-exporter**
|
|
@@ -23,11 +25,15 @@ Base functionality used throughout XY Labs TypeScript/JavaScript libraries
|
|
|
23
25
|
|
|
24
26
|
## Classes
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
| Class | Description |
|
|
29
|
+
| ------ | ------ |
|
|
30
|
+
| [XyConsoleSpanExporter](#classes/XyConsoleSpanExporter) | A console span exporter that formats spans with color-coded durations using chalk. Spans are filtered by a configurable log level based on their duration. |
|
|
27
31
|
|
|
28
32
|
## Functions
|
|
29
33
|
|
|
30
|
-
|
|
34
|
+
| Function | Description |
|
|
35
|
+
| ------ | ------ |
|
|
36
|
+
| [spanDurationInMillis](#functions/spanDurationInMillis) | Calculates the duration of a span in milliseconds from its high-resolution time tuple. |
|
|
31
37
|
|
|
32
38
|
### classes
|
|
33
39
|
|
|
@@ -37,6 +43,9 @@ Base functionality used throughout XY Labs TypeScript/JavaScript libraries
|
|
|
37
43
|
|
|
38
44
|
***
|
|
39
45
|
|
|
46
|
+
A console span exporter that formats spans with color-coded durations using chalk.
|
|
47
|
+
Spans are filtered by a configurable log level based on their duration.
|
|
48
|
+
|
|
40
49
|
## Extends
|
|
41
50
|
|
|
42
51
|
- `ConsoleSpanExporter`
|
|
@@ -46,18 +55,15 @@ Base functionality used throughout XY Labs TypeScript/JavaScript libraries
|
|
|
46
55
|
### Constructor
|
|
47
56
|
|
|
48
57
|
```ts
|
|
49
|
-
new XyConsoleSpanExporter(logLevel
|
|
58
|
+
new XyConsoleSpanExporter(logLevel?: number, logger?: Logger): XyConsoleSpanExporter;
|
|
50
59
|
```
|
|
51
60
|
|
|
52
61
|
### Parameters
|
|
53
62
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
`number`
|
|
57
|
-
|
|
58
|
-
#### logger?
|
|
59
|
-
|
|
60
|
-
`Logger` = `console`
|
|
63
|
+
| Parameter | Type | Default value |
|
|
64
|
+
| ------ | ------ | ------ |
|
|
65
|
+
| `logLevel` | `number` | `0` |
|
|
66
|
+
| `logger` | `Logger` | `console` |
|
|
61
67
|
|
|
62
68
|
### Returns
|
|
63
69
|
|
|
@@ -71,27 +77,11 @@ ConsoleSpanExporter.constructor
|
|
|
71
77
|
|
|
72
78
|
## Properties
|
|
73
79
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
readonly
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
***
|
|
81
|
-
|
|
82
|
-
### logLevelToChalkColor
|
|
83
|
-
|
|
84
|
-
```ts
|
|
85
|
-
readonly static logLevelToChalkColor: ChalkInstance[];
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
***
|
|
89
|
-
|
|
90
|
-
### logger
|
|
91
|
-
|
|
92
|
-
```ts
|
|
93
|
-
logger: Logger;
|
|
94
|
-
```
|
|
80
|
+
| Property | Modifier | Type | Description |
|
|
81
|
+
| ------ | ------ | ------ | ------ |
|
|
82
|
+
| <a id="durationtologlevel"></a> `durationToLogLevel` | `readonly` | `number`[] | Duration thresholds (in ms) that map to increasing log levels. |
|
|
83
|
+
| <a id="logleveltochalkcolor"></a> `logLevelToChalkColor` | `readonly` | `ChalkInstance`[] | Chalk color functions corresponding to each log level. |
|
|
84
|
+
| <a id="logger"></a> `logger` | `public` | `Logger` | - |
|
|
95
85
|
|
|
96
86
|
## Accessors
|
|
97
87
|
|
|
@@ -103,6 +93,8 @@ logger: Logger;
|
|
|
103
93
|
get logLevel(): number;
|
|
104
94
|
```
|
|
105
95
|
|
|
96
|
+
The minimum log level required for a span to be exported.
|
|
97
|
+
|
|
106
98
|
#### Returns
|
|
107
99
|
|
|
108
100
|
`number`
|
|
@@ -112,16 +104,16 @@ get logLevel(): number;
|
|
|
112
104
|
### export()
|
|
113
105
|
|
|
114
106
|
```ts
|
|
115
|
-
export(spans): void;
|
|
107
|
+
export(spans: ReadableSpan[]): void;
|
|
116
108
|
```
|
|
117
109
|
|
|
118
110
|
Export spans.
|
|
119
111
|
|
|
120
112
|
### Parameters
|
|
121
113
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
`ReadableSpan`[]
|
|
114
|
+
| Parameter | Type | Description |
|
|
115
|
+
| ------ | ------ | ------ |
|
|
116
|
+
| `spans` | `ReadableSpan`[] | - |
|
|
125
117
|
|
|
126
118
|
### Returns
|
|
127
119
|
|
|
@@ -138,37 +130,45 @@ ConsoleSpanExporter.export
|
|
|
138
130
|
### logColor()
|
|
139
131
|
|
|
140
132
|
```ts
|
|
141
|
-
logColor(level): ChalkInstance;
|
|
133
|
+
logColor(level: number): ChalkInstance;
|
|
142
134
|
```
|
|
143
135
|
|
|
144
|
-
|
|
136
|
+
Returns the chalk color function for the given log level.
|
|
145
137
|
|
|
146
|
-
|
|
138
|
+
### Parameters
|
|
147
139
|
|
|
148
|
-
|
|
140
|
+
| Parameter | Type | Description |
|
|
141
|
+
| ------ | ------ | ------ |
|
|
142
|
+
| `level` | `number` | The log level index. |
|
|
149
143
|
|
|
150
144
|
### Returns
|
|
151
145
|
|
|
152
146
|
`ChalkInstance`
|
|
153
147
|
|
|
148
|
+
A chalk color function.
|
|
149
|
+
|
|
154
150
|
***
|
|
155
151
|
|
|
156
152
|
### spanLevel()
|
|
157
153
|
|
|
158
154
|
```ts
|
|
159
|
-
spanLevel(span): number;
|
|
155
|
+
spanLevel(span: ReadableSpan): number;
|
|
160
156
|
```
|
|
161
157
|
|
|
162
|
-
|
|
158
|
+
Determines the log level of a span based on its duration.
|
|
163
159
|
|
|
164
|
-
|
|
160
|
+
### Parameters
|
|
165
161
|
|
|
166
|
-
|
|
162
|
+
| Parameter | Type | Description |
|
|
163
|
+
| ------ | ------ | ------ |
|
|
164
|
+
| `span` | `ReadableSpan` | The span to evaluate. |
|
|
167
165
|
|
|
168
166
|
### Returns
|
|
169
167
|
|
|
170
168
|
`number`
|
|
171
169
|
|
|
170
|
+
The numeric log level (index into durationToLogLevel).
|
|
171
|
+
|
|
172
172
|
### functions
|
|
173
173
|
|
|
174
174
|
### <a id="spanDurationInMillis"></a>spanDurationInMillis
|
|
@@ -178,19 +178,23 @@ spanLevel(span): number;
|
|
|
178
178
|
***
|
|
179
179
|
|
|
180
180
|
```ts
|
|
181
|
-
function spanDurationInMillis(span): number;
|
|
181
|
+
function spanDurationInMillis(span: ReadableSpan): number;
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
|
|
184
|
+
Calculates the duration of a span in milliseconds from its high-resolution time tuple.
|
|
185
185
|
|
|
186
|
-
|
|
186
|
+
## Parameters
|
|
187
187
|
|
|
188
|
-
|
|
188
|
+
| Parameter | Type | Description |
|
|
189
|
+
| ------ | ------ | ------ |
|
|
190
|
+
| `span` | `ReadableSpan` | The span to measure. |
|
|
189
191
|
|
|
190
192
|
## Returns
|
|
191
193
|
|
|
192
194
|
`number`
|
|
193
195
|
|
|
196
|
+
The span duration in milliseconds.
|
|
197
|
+
|
|
194
198
|
|
|
195
199
|
Part of [sdk-js](https://www.npmjs.com/package/@xyo-network/sdk-js)
|
|
196
200
|
|
|
@@ -1,16 +1,38 @@
|
|
|
1
1
|
import type { ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
2
2
|
import { ConsoleSpanExporter } from '@opentelemetry/sdk-trace-base';
|
|
3
3
|
import type { Logger } from '@xylabs/logger';
|
|
4
|
+
/**
|
|
5
|
+
* Calculates the duration of a span in milliseconds from its high-resolution time tuple.
|
|
6
|
+
* @param span - The span to measure.
|
|
7
|
+
* @returns The span duration in milliseconds.
|
|
8
|
+
*/
|
|
4
9
|
export declare function spanDurationInMillis(span: ReadableSpan): number;
|
|
10
|
+
/**
|
|
11
|
+
* A console span exporter that formats spans with color-coded durations using chalk.
|
|
12
|
+
* Spans are filtered by a configurable log level based on their duration.
|
|
13
|
+
*/
|
|
5
14
|
export declare class XyConsoleSpanExporter extends ConsoleSpanExporter {
|
|
15
|
+
/** Duration thresholds (in ms) that map to increasing log levels. */
|
|
6
16
|
static readonly durationToLogLevel: number[];
|
|
17
|
+
/** Chalk color functions corresponding to each log level. */
|
|
7
18
|
static readonly logLevelToChalkColor: import("chalk").ChalkInstance[];
|
|
8
19
|
logger: Logger;
|
|
9
20
|
private _logLevel;
|
|
10
21
|
constructor(logLevel?: number, logger?: Logger);
|
|
22
|
+
/** The minimum log level required for a span to be exported. */
|
|
11
23
|
get logLevel(): number;
|
|
12
24
|
export(spans: ReadableSpan[]): void;
|
|
25
|
+
/**
|
|
26
|
+
* Returns the chalk color function for the given log level.
|
|
27
|
+
* @param level - The log level index.
|
|
28
|
+
* @returns A chalk color function.
|
|
29
|
+
*/
|
|
13
30
|
logColor(level: number): import("chalk").ChalkInstance;
|
|
31
|
+
/**
|
|
32
|
+
* Determines the log level of a span based on its duration.
|
|
33
|
+
* @param span - The span to evaluate.
|
|
34
|
+
* @returns The numeric log level (index into durationToLogLevel).
|
|
35
|
+
*/
|
|
14
36
|
spanLevel(span: ReadableSpan): number;
|
|
15
37
|
}
|
|
16
38
|
//# sourceMappingURL=XyConsoleSpanExporter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyConsoleSpanExporter.d.ts","sourceRoot":"","sources":["../../src/XyConsoleSpanExporter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAG5C,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,YAAY,UAEtD;AAED,qBAAa,qBAAsB,SAAQ,mBAAmB;IAC5D,MAAM,CAAC,QAAQ,CAAC,kBAAkB,WAMjC;IAED,MAAM,CAAC,QAAQ,CAAC,oBAAoB,kCAMnC;IAED,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,SAAS,CAAQ;gBAEb,QAAQ,SAAI,EAAE,MAAM,GAAE,MAAgB;IAMlD,IAAI,QAAQ,WAEX;IAEQ,MAAM,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI;IAe5C,QAAQ,CAAC,KAAK,EAAE,MAAM;IAItB,SAAS,CAAC,IAAI,EAAE,YAAY;CAW7B"}
|
|
1
|
+
{"version":3,"file":"XyConsoleSpanExporter.d.ts","sourceRoot":"","sources":["../../src/XyConsoleSpanExporter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAG5C;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,YAAY,UAEtD;AAED;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,mBAAmB;IAC5D,qEAAqE;IACrE,MAAM,CAAC,QAAQ,CAAC,kBAAkB,WAMjC;IAED,6DAA6D;IAC7D,MAAM,CAAC,QAAQ,CAAC,oBAAoB,kCAMnC;IAED,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,SAAS,CAAQ;gBAEb,QAAQ,SAAI,EAAE,MAAM,GAAE,MAAgB;IAMlD,gEAAgE;IAChE,IAAI,QAAQ,WAEX;IAEQ,MAAM,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI;IAe5C;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM;IAItB;;;;OAIG;IACH,SAAS,CAAC,IAAI,EAAE,YAAY;CAW7B"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -5,6 +5,7 @@ function spanDurationInMillis(span) {
|
|
|
5
5
|
return span.duration[0] * 1e3 + span.duration[1] / 1e6;
|
|
6
6
|
}
|
|
7
7
|
var XyConsoleSpanExporter = class _XyConsoleSpanExporter extends ConsoleSpanExporter {
|
|
8
|
+
/** Duration thresholds (in ms) that map to increasing log levels. */
|
|
8
9
|
static durationToLogLevel = [
|
|
9
10
|
0,
|
|
10
11
|
1,
|
|
@@ -12,6 +13,7 @@ var XyConsoleSpanExporter = class _XyConsoleSpanExporter extends ConsoleSpanExpo
|
|
|
12
13
|
100,
|
|
13
14
|
1e3
|
|
14
15
|
];
|
|
16
|
+
/** Chalk color functions corresponding to each log level. */
|
|
15
17
|
static logLevelToChalkColor = [
|
|
16
18
|
chalk.grey,
|
|
17
19
|
chalk.white,
|
|
@@ -26,6 +28,7 @@ var XyConsoleSpanExporter = class _XyConsoleSpanExporter extends ConsoleSpanExpo
|
|
|
26
28
|
this._logLevel = logLevel;
|
|
27
29
|
this.logger = logger;
|
|
28
30
|
}
|
|
31
|
+
/** The minimum log level required for a span to be exported. */
|
|
29
32
|
get logLevel() {
|
|
30
33
|
return this._logLevel;
|
|
31
34
|
}
|
|
@@ -43,9 +46,19 @@ var XyConsoleSpanExporter = class _XyConsoleSpanExporter extends ConsoleSpanExpo
|
|
|
43
46
|
].join(", ")));
|
|
44
47
|
}
|
|
45
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns the chalk color function for the given log level.
|
|
51
|
+
* @param level - The log level index.
|
|
52
|
+
* @returns A chalk color function.
|
|
53
|
+
*/
|
|
46
54
|
logColor(level) {
|
|
47
55
|
return _XyConsoleSpanExporter.logLevelToChalkColor[level] ?? chalk.magenta;
|
|
48
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Determines the log level of a span based on its duration.
|
|
59
|
+
* @param span - The span to evaluate.
|
|
60
|
+
* @returns The numeric log level (index into durationToLogLevel).
|
|
61
|
+
*/
|
|
49
62
|
spanLevel(span) {
|
|
50
63
|
let logLevel = 0;
|
|
51
64
|
const duration = spanDurationInMillis(span);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/XyConsoleSpanExporter.ts"],"sourcesContent":["import type { ReadableSpan } from '@opentelemetry/sdk-trace-base'\nimport { ConsoleSpanExporter } from '@opentelemetry/sdk-trace-base'\nimport type { Logger } from '@xylabs/logger'\nimport chalk from 'chalk'\n\nexport function spanDurationInMillis(span: ReadableSpan) {\n return span.duration[0] * 1000 + span.duration[1] / 1e6\n}\n\nexport class XyConsoleSpanExporter extends ConsoleSpanExporter {\n static readonly durationToLogLevel = [\n 0,\n 1,\n 10,\n 100,\n 1000,\n ]\n\n static readonly logLevelToChalkColor = [\n chalk.grey,\n chalk.white,\n chalk.green,\n chalk.yellow,\n chalk.red,\n ]\n\n logger: Logger\n private _logLevel: number\n\n constructor(logLevel = 0, logger: Logger = console) {\n super()\n this._logLevel = logLevel\n this.logger = logger\n }\n\n get logLevel() {\n return this._logLevel\n }\n\n override export(spans: ReadableSpan[]): void {\n for (const span of spans) {\n const spanLevel = this.spanLevel(span)\n if (spanLevel < this.logLevel) {\n continue\n }\n const duration = spanDurationInMillis(span)\n this.logger.log(chalk.grey([\n `Span [${span.name}]`,\n this.logColor(spanLevel)(`${duration}ms`),\n `TraceId: ${span.spanContext().traceId}`,\n ].join(', ')))\n }\n }\n\n logColor(level: number) {\n return XyConsoleSpanExporter.logLevelToChalkColor[level] ?? chalk.magenta\n }\n\n spanLevel(span: ReadableSpan) {\n let logLevel = 0\n const duration = spanDurationInMillis(span)\n for (let x = XyConsoleSpanExporter.durationToLogLevel.length - 1; x >= 0; x--) {\n if (duration > XyConsoleSpanExporter.durationToLogLevel[x]) {\n logLevel = x\n break\n }\n }\n return logLevel\n }\n}\n"],"mappings":";AACA,SAAS,2BAA2B;AAEpC,OAAO,WAAW;
|
|
1
|
+
{"version":3,"sources":["../../src/XyConsoleSpanExporter.ts"],"sourcesContent":["import type { ReadableSpan } from '@opentelemetry/sdk-trace-base'\nimport { ConsoleSpanExporter } from '@opentelemetry/sdk-trace-base'\nimport type { Logger } from '@xylabs/logger'\nimport chalk from 'chalk'\n\n/**\n * Calculates the duration of a span in milliseconds from its high-resolution time tuple.\n * @param span - The span to measure.\n * @returns The span duration in milliseconds.\n */\nexport function spanDurationInMillis(span: ReadableSpan) {\n return span.duration[0] * 1000 + span.duration[1] / 1e6\n}\n\n/**\n * A console span exporter that formats spans with color-coded durations using chalk.\n * Spans are filtered by a configurable log level based on their duration.\n */\nexport class XyConsoleSpanExporter extends ConsoleSpanExporter {\n /** Duration thresholds (in ms) that map to increasing log levels. */\n static readonly durationToLogLevel = [\n 0,\n 1,\n 10,\n 100,\n 1000,\n ]\n\n /** Chalk color functions corresponding to each log level. */\n static readonly logLevelToChalkColor = [\n chalk.grey,\n chalk.white,\n chalk.green,\n chalk.yellow,\n chalk.red,\n ]\n\n logger: Logger\n private _logLevel: number\n\n constructor(logLevel = 0, logger: Logger = console) {\n super()\n this._logLevel = logLevel\n this.logger = logger\n }\n\n /** The minimum log level required for a span to be exported. */\n get logLevel() {\n return this._logLevel\n }\n\n override export(spans: ReadableSpan[]): void {\n for (const span of spans) {\n const spanLevel = this.spanLevel(span)\n if (spanLevel < this.logLevel) {\n continue\n }\n const duration = spanDurationInMillis(span)\n this.logger.log(chalk.grey([\n `Span [${span.name}]`,\n this.logColor(spanLevel)(`${duration}ms`),\n `TraceId: ${span.spanContext().traceId}`,\n ].join(', ')))\n }\n }\n\n /**\n * Returns the chalk color function for the given log level.\n * @param level - The log level index.\n * @returns A chalk color function.\n */\n logColor(level: number) {\n return XyConsoleSpanExporter.logLevelToChalkColor[level] ?? chalk.magenta\n }\n\n /**\n * Determines the log level of a span based on its duration.\n * @param span - The span to evaluate.\n * @returns The numeric log level (index into durationToLogLevel).\n */\n spanLevel(span: ReadableSpan) {\n let logLevel = 0\n const duration = spanDurationInMillis(span)\n for (let x = XyConsoleSpanExporter.durationToLogLevel.length - 1; x >= 0; x--) {\n if (duration > XyConsoleSpanExporter.durationToLogLevel[x]) {\n logLevel = x\n break\n }\n }\n return logLevel\n }\n}\n"],"mappings":";AACA,SAAS,2BAA2B;AAEpC,OAAO,WAAW;AAOX,SAAS,qBAAqB,MAAoB;AACvD,SAAO,KAAK,SAAS,CAAC,IAAI,MAAO,KAAK,SAAS,CAAC,IAAI;AACtD;AAMO,IAAM,wBAAN,MAAM,+BAA8B,oBAAoB;AAAA;AAAA,EAE7D,OAAgB,qBAAqB;AAAA,IACnC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA;AAAA,EAGA,OAAgB,uBAAuB;AAAA,IACrC,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,EACR;AAAA,EAEA;AAAA,EACQ;AAAA,EAER,YAAY,WAAW,GAAG,SAAiB,SAAS;AAClD,UAAM;AACN,SAAK,YAAY;AACjB,SAAK,SAAS;AAAA,EAChB;AAAA;AAAA,EAGA,IAAI,WAAW;AACb,WAAO,KAAK;AAAA,EACd;AAAA,EAES,OAAO,OAA6B;AAC3C,eAAW,QAAQ,OAAO;AACxB,YAAM,YAAY,KAAK,UAAU,IAAI;AACrC,UAAI,YAAY,KAAK,UAAU;AAC7B;AAAA,MACF;AACA,YAAM,WAAW,qBAAqB,IAAI;AAC1C,WAAK,OAAO,IAAI,MAAM,KAAK;AAAA,QACzB,SAAS,KAAK,IAAI;AAAA,QAClB,KAAK,SAAS,SAAS,EAAE,GAAG,QAAQ,IAAI;AAAA,QACxC,YAAY,KAAK,YAAY,EAAE,OAAO;AAAA,MACxC,EAAE,KAAK,IAAI,CAAC,CAAC;AAAA,IACf;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,SAAS,OAAe;AACtB,WAAO,uBAAsB,qBAAqB,KAAK,KAAK,MAAM;AAAA,EACpE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,UAAU,MAAoB;AAC5B,QAAI,WAAW;AACf,UAAM,WAAW,qBAAqB,IAAI;AAC1C,aAAS,IAAI,uBAAsB,mBAAmB,SAAS,GAAG,KAAK,GAAG,KAAK;AAC7E,UAAI,WAAW,uBAAsB,mBAAmB,CAAC,GAAG;AAC1D,mBAAW;AACX;AAAA,MACF;AAAA,IACF;AACA,WAAO;AAAA,EACT;AACF;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/telemetry-exporter",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.86",
|
|
4
4
|
"description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hex",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@opentelemetry/sdk-trace-base": "^2.6.0",
|
|
46
|
-
"@xylabs/logger": "~5.0.
|
|
46
|
+
"@xylabs/logger": "~5.0.86",
|
|
47
47
|
"chalk": "~5.6.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@opentelemetry/api": "^1.9.0",
|
|
51
|
-
"@xylabs/ts-scripts-yarn3": "~7.4.
|
|
52
|
-
"@xylabs/tsconfig": "~7.4.
|
|
51
|
+
"@xylabs/ts-scripts-yarn3": "~7.4.16",
|
|
52
|
+
"@xylabs/tsconfig": "~7.4.16",
|
|
53
53
|
"typescript": "~5.9.3",
|
|
54
54
|
"vitest": "^4.0.18"
|
|
55
55
|
},
|