@libo11y/workers 0.0.0-stage → 0.8.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/LICENSE +202 -0
- package/README.md +252 -2
- package/dist/context.d.ts +3 -0
- package/dist/context.js +50 -0
- package/dist/env.d.ts +16 -0
- package/dist/env.js +57 -0
- package/dist/exporters.d.ts +93 -0
- package/dist/exporters.js +278 -0
- package/dist/flush.d.ts +19 -0
- package/dist/flush.js +17 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +14 -0
- package/dist/instrument.d.ts +78 -0
- package/dist/instrument.js +158 -0
- package/dist/metric-reader.d.ts +25 -0
- package/dist/metric-reader.js +83 -0
- package/dist/platform.d.ts +29 -0
- package/dist/platform.js +31 -0
- package/dist/resource.d.ts +17 -0
- package/dist/resource.js +30 -0
- package/dist/setup.d.ts +29 -0
- package/dist/setup.js +69 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.js +2 -0
- package/package.json +47 -4
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MetricReader, type PushMetricExporter } from "@opentelemetry/sdk-metrics";
|
|
2
|
+
/** Options for FlushMetricReader. */
|
|
3
|
+
export interface FlushMetricReaderOptions {
|
|
4
|
+
readonly exporter: PushMetricExporter;
|
|
5
|
+
/** The least time between two exports, in milliseconds. 0 exports on every flush. */
|
|
6
|
+
readonly intervalMillis: number;
|
|
7
|
+
/** The collection deadline, in milliseconds. */
|
|
8
|
+
readonly timeoutMillis: number;
|
|
9
|
+
/** The clock. Default Date.now. */
|
|
10
|
+
readonly now?: () => number;
|
|
11
|
+
}
|
|
12
|
+
/** A metric reader that exports on flush, throttled, and on shutdown. */
|
|
13
|
+
export declare class FlushMetricReader extends MetricReader {
|
|
14
|
+
private readonly exporter;
|
|
15
|
+
private readonly intervalMillis;
|
|
16
|
+
private readonly timeoutMillis;
|
|
17
|
+
private readonly now;
|
|
18
|
+
private last;
|
|
19
|
+
constructor(opts: FlushMetricReaderOptions);
|
|
20
|
+
/** Whether a flush now would export: the interval has passed since the last export began. */
|
|
21
|
+
due(): boolean;
|
|
22
|
+
protected onForceFlush(): Promise<void>;
|
|
23
|
+
protected onShutdown(): Promise<void>;
|
|
24
|
+
private run;
|
|
25
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The metric reader of a Worker. A periodic reader cannot work in a Worker: a timer runs only while
|
|
3
|
+
* an invocation is alive, and one armed in one invocation never fires once that invocation is
|
|
4
|
+
* gone. This reader has no timer. It collects and exports when the telemetry flushes, which the
|
|
5
|
+
* Workers helpers do after every invocation, and at most once per intervalMillis, so a busy isolate
|
|
6
|
+
* does not ship metrics with every request. Shutdown always exports.
|
|
7
|
+
*
|
|
8
|
+
* With CUMULATIVE temporality, which the exporters ask for, a skipped flush loses nothing: the next
|
|
9
|
+
* export carries every measurement since the isolate started.
|
|
10
|
+
*/
|
|
11
|
+
import { ExportResultCode, globalErrorHandler } from "@opentelemetry/core";
|
|
12
|
+
import { MetricReader } from "@opentelemetry/sdk-metrics";
|
|
13
|
+
function exportOnce(exporter, metrics) {
|
|
14
|
+
return new Promise((resolve) => {
|
|
15
|
+
try {
|
|
16
|
+
exporter.export(metrics, resolve);
|
|
17
|
+
}
|
|
18
|
+
catch (err) {
|
|
19
|
+
resolve({ code: ExportResultCode.FAILED, error: err instanceof Error ? err : new Error(String(err)) });
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/** A metric reader that exports on flush, throttled, and on shutdown. */
|
|
24
|
+
export class FlushMetricReader extends MetricReader {
|
|
25
|
+
exporter;
|
|
26
|
+
intervalMillis;
|
|
27
|
+
timeoutMillis;
|
|
28
|
+
now;
|
|
29
|
+
last;
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
const exporter = opts.exporter;
|
|
32
|
+
super({
|
|
33
|
+
...(exporter.selectAggregation === undefined
|
|
34
|
+
? {}
|
|
35
|
+
: { aggregationSelector: exporter.selectAggregation.bind(exporter) }),
|
|
36
|
+
...(exporter.selectAggregationTemporality === undefined
|
|
37
|
+
? {}
|
|
38
|
+
: { aggregationTemporalitySelector: exporter.selectAggregationTemporality.bind(exporter) }),
|
|
39
|
+
});
|
|
40
|
+
this.exporter = exporter;
|
|
41
|
+
this.intervalMillis = Math.max(0, Number.isFinite(opts.intervalMillis) ? opts.intervalMillis : 0);
|
|
42
|
+
this.timeoutMillis = opts.timeoutMillis;
|
|
43
|
+
this.now = opts.now ?? Date.now;
|
|
44
|
+
}
|
|
45
|
+
/** Whether a flush now would export: the interval has passed since the last export began. */
|
|
46
|
+
due() {
|
|
47
|
+
if (this.last === undefined)
|
|
48
|
+
return true;
|
|
49
|
+
const elapsed = this.now() - this.last;
|
|
50
|
+
// A clock that went backwards is due, so a skewed clock cannot stop exports.
|
|
51
|
+
return elapsed < 0 || elapsed >= this.intervalMillis;
|
|
52
|
+
}
|
|
53
|
+
async onForceFlush() {
|
|
54
|
+
if (!this.due())
|
|
55
|
+
return;
|
|
56
|
+
await this.run();
|
|
57
|
+
await this.exporter.forceFlush();
|
|
58
|
+
}
|
|
59
|
+
async onShutdown() {
|
|
60
|
+
await this.run();
|
|
61
|
+
await this.exporter.shutdown();
|
|
62
|
+
}
|
|
63
|
+
// run collects and exports once. A failure goes to the error handler, as upstream's periodic
|
|
64
|
+
// reader reports it; core's export watch has already seen it. Two flushes never share one run:
|
|
65
|
+
// in workerd a promise belongs to the invocation that made it, so a flush that waited for
|
|
66
|
+
// another invocation's export could be left waiting when that invocation ends. The time of the
|
|
67
|
+
// last export is set before anything is awaited, so overlapping flushes still export once.
|
|
68
|
+
async run() {
|
|
69
|
+
this.last = this.now();
|
|
70
|
+
try {
|
|
71
|
+
const { resourceMetrics } = await this.collect({ timeoutMillis: this.timeoutMillis });
|
|
72
|
+
if (resourceMetrics.scopeMetrics.length === 0)
|
|
73
|
+
return;
|
|
74
|
+
const result = await exportOnce(this.exporter, resourceMetrics);
|
|
75
|
+
if (result.code !== ExportResultCode.SUCCESS) {
|
|
76
|
+
throw result.error ?? new Error("o11y: metric export failed");
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
catch (err) {
|
|
80
|
+
globalErrorHandler(err);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Workers Platform: OTEL_* from the Worker's env bindings and never from a process environment,
|
|
3
|
+
* the AsyncLocalStorage context, the Workers resource, OTLP/HTTP export over fetch, console lines
|
|
4
|
+
* through console.log and console.warn (Workers Logs), crypto.subtle for SHA-1 and
|
|
5
|
+
* crypto.randomUUID. No runtime metrics: an isolate has no process to measure. Flushes are
|
|
6
|
+
* isolated: a flush waits only for what it exports itself, never for another invocation's exports.
|
|
7
|
+
*/
|
|
8
|
+
import type { Platform } from "@libo11y/core";
|
|
9
|
+
import { type WorkersExporterOptions } from "./exporters.ts";
|
|
10
|
+
/** The default of WorkersPlatformOptions.metricsFlushIntervalMillis: 15 s. */
|
|
11
|
+
export declare const DEFAULT_METRICS_FLUSH_INTERVAL_MILLIS = 15000;
|
|
12
|
+
/** Options for workersPlatform. */
|
|
13
|
+
export interface WorkersPlatformOptions {
|
|
14
|
+
/**
|
|
15
|
+
* The Worker's env bindings. Its string-valued OTEL_* keys are the standard variables; every
|
|
16
|
+
* other key is ignored. Never read in hermetic mode.
|
|
17
|
+
*/
|
|
18
|
+
readonly env?: Readonly<Record<string, unknown>>;
|
|
19
|
+
/** Where and how to export. Each field beats its OTEL_EXPORTER_OTLP_* variable. */
|
|
20
|
+
readonly exporter?: WorkersExporterOptions;
|
|
21
|
+
/**
|
|
22
|
+
* The least time between two metric exports of one isolate, in milliseconds. Traces and logs
|
|
23
|
+
* export on every flush; metrics only when this much time has passed since the last export.
|
|
24
|
+
* Default 15000. 0 exports metrics on every flush.
|
|
25
|
+
*/
|
|
26
|
+
readonly metricsFlushIntervalMillis?: number;
|
|
27
|
+
}
|
|
28
|
+
/** A new Workers Platform for createTelemetryWith and setupWith. */
|
|
29
|
+
export declare function workersPlatform(opts?: WorkersPlatformOptions): Platform;
|
package/dist/platform.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createContextManager } from "./context.js";
|
|
2
|
+
import { otelEnv } from "./env.js";
|
|
3
|
+
import { buildExporters } from "./exporters.js";
|
|
4
|
+
import { detectWorkersResource } from "./resource.js";
|
|
5
|
+
/** The default of WorkersPlatformOptions.metricsFlushIntervalMillis: 15 s. */
|
|
6
|
+
export const DEFAULT_METRICS_FLUSH_INTERVAL_MILLIS = 15000;
|
|
7
|
+
/** A new Workers Platform for createTelemetryWith and setupWith. */
|
|
8
|
+
export function workersPlatform(opts = {}) {
|
|
9
|
+
const env = otelEnv(opts.env);
|
|
10
|
+
const interval = opts.metricsFlushIntervalMillis;
|
|
11
|
+
const metricsFlushIntervalMillis = typeof interval === "number" && Number.isFinite(interval) && interval >= 0
|
|
12
|
+
? interval
|
|
13
|
+
: DEFAULT_METRICS_FLUSH_INTERVAL_MILLIS;
|
|
14
|
+
// Bound now, before captureConsole patches the console, so a sink line never re-enters capture.
|
|
15
|
+
const log = console.log.bind(console);
|
|
16
|
+
const warn = console.warn.bind(console);
|
|
17
|
+
return {
|
|
18
|
+
name: "workers",
|
|
19
|
+
env: () => env,
|
|
20
|
+
detectResource: (hermetic) => detectWorkersResource(hermetic, env),
|
|
21
|
+
contextManager: createContextManager,
|
|
22
|
+
buildExporters: (req) => buildExporters(req, { env, exporter: opts.exporter, metricsFlushIntervalMillis }),
|
|
23
|
+
writeConsoleLine: (line) => log(line),
|
|
24
|
+
writeDiagnosticLine: (line) => warn(line),
|
|
25
|
+
sha1: async (data) => new Uint8Array(await crypto.subtle.digest("SHA-1", data)),
|
|
26
|
+
randomUUID: () => crypto.randomUUID(),
|
|
27
|
+
console: globalThis.console,
|
|
28
|
+
// Each flush belongs to one invocation: workerd ties a promise to the invocation that made it.
|
|
29
|
+
isolatedFlushes: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workers resource detection, in the two layers core merges.
|
|
3
|
+
*
|
|
4
|
+
* The detected layer holds what an isolate can say about itself without inventing attributes: the
|
|
5
|
+
* upstream telemetry.sdk.* attributes with telemetry.sdk.language "webjs" (a Worker is a V8 isolate
|
|
6
|
+
* with the web platform's APIs, whichever upstream build a bundler picked), cloud.provider
|
|
7
|
+
* "cloudflare", and process.runtime.name "workerd" with its description when the runtime says it
|
|
8
|
+
* is Cloudflare Workers. A Worker has no host name, process ID or container to report. Core adds
|
|
9
|
+
* service.instance.id, a random UUID per isolate.
|
|
10
|
+
*
|
|
11
|
+
* The environment layer is OTEL_RESOURCE_ATTRIBUTES, then OTEL_SERVICE_NAME, from the Worker's env
|
|
12
|
+
* bindings. It is empty in hermetic mode.
|
|
13
|
+
*/
|
|
14
|
+
import type { ResourceLayers } from "@libo11y/core";
|
|
15
|
+
import { type OtelEnv } from "./env.ts";
|
|
16
|
+
/** Detects the Workers resource layers from env. fromEnv is empty when hermetic is true. */
|
|
17
|
+
export declare function detectWorkersResource(hermetic: boolean, env: OtelEnv): Promise<ResourceLayers>;
|
package/dist/resource.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SDK_INFO } from "@opentelemetry/core";
|
|
2
|
+
import { parseKeyValues } from "./env.js";
|
|
3
|
+
const WORKERS_USER_AGENT = "Cloudflare-Workers";
|
|
4
|
+
function isWorkerd() {
|
|
5
|
+
try {
|
|
6
|
+
return (globalThis.navigator?.userAgent === WORKERS_USER_AGENT);
|
|
7
|
+
}
|
|
8
|
+
catch {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
/** Detects the Workers resource layers from env. fromEnv is empty when hermetic is true. */
|
|
13
|
+
export async function detectWorkersResource(hermetic, env) {
|
|
14
|
+
const sdk = Object.fromEntries(Object.entries(SDK_INFO).filter(([k]) => k.startsWith("telemetry.sdk.")));
|
|
15
|
+
const detected = {
|
|
16
|
+
...sdk,
|
|
17
|
+
"telemetry.sdk.language": "webjs",
|
|
18
|
+
"cloud.provider": "cloudflare",
|
|
19
|
+
...(isWorkerd()
|
|
20
|
+
? { "process.runtime.name": "workerd", "process.runtime.description": "Cloudflare Workers" }
|
|
21
|
+
: {}),
|
|
22
|
+
};
|
|
23
|
+
if (hermetic)
|
|
24
|
+
return { detected, fromEnv: {} };
|
|
25
|
+
const fromEnv = parseKeyValues(env.OTEL_RESOURCE_ATTRIBUTES);
|
|
26
|
+
const serviceName = env.OTEL_SERVICE_NAME?.trim();
|
|
27
|
+
if (serviceName !== undefined && serviceName !== "")
|
|
28
|
+
fromEnv["service.name"] = serviceName;
|
|
29
|
+
return { detected, fromEnv };
|
|
30
|
+
}
|
package/dist/setup.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* setup and createTelemetry bound to the Workers platform.
|
|
3
|
+
*
|
|
4
|
+
* A Worker isolate serves many invocations, and its global scope may not start timers or I/O, so
|
|
5
|
+
* telemetry is set up inside the first invocation and kept for the isolate's life. setup is
|
|
6
|
+
* memoized per isolate: every call made while a telemetry from it is live, or while one is being
|
|
7
|
+
* built, returns the same promise, so concurrent first requests build one telemetry. A call after
|
|
8
|
+
* that telemetry shut down, or after a setup that failed, builds a new one. Core's process-wide
|
|
9
|
+
* guard still applies: while a telemetry from another setup is live, setup fails with ALREADY_SETUP.
|
|
10
|
+
*/
|
|
11
|
+
import { type Telemetry, type TelemetryOptions } from "@libo11y/core";
|
|
12
|
+
import { type WorkersPlatformOptions } from "./platform.ts";
|
|
13
|
+
/** The libo11y telemetry options, and the Workers platform's. */
|
|
14
|
+
export interface WorkersOptions extends TelemetryOptions, WorkersPlatformOptions {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Builds telemetry on the Workers platform once per isolate, emits the o11y.telemetry.configured
|
|
18
|
+
* canary and installs it globally: the AsyncLocalStorage context manager, the tracer, meter and
|
|
19
|
+
* logger providers, the propagator and the error handler. Call it inside a handler, never at module
|
|
20
|
+
* scope, which workerd does not let start timers. Every later call returns the first call's
|
|
21
|
+
* promise while its telemetry is live, whatever options it passes. It rejects with O11yError as
|
|
22
|
+
* core's setupWith does, and the next call tries again.
|
|
23
|
+
*/
|
|
24
|
+
export declare function setup(options?: WorkersOptions): Promise<Telemetry>;
|
|
25
|
+
/**
|
|
26
|
+
* Builds telemetry on the Workers platform without touching any global, without the canary and
|
|
27
|
+
* without memoizing it, as a test or a second pipeline wants.
|
|
28
|
+
*/
|
|
29
|
+
export declare function createTelemetry(options?: WorkersOptions): Promise<Telemetry>;
|
package/dist/setup.js
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* setup and createTelemetry bound to the Workers platform.
|
|
3
|
+
*
|
|
4
|
+
* A Worker isolate serves many invocations, and its global scope may not start timers or I/O, so
|
|
5
|
+
* telemetry is set up inside the first invocation and kept for the isolate's life. setup is
|
|
6
|
+
* memoized per isolate: every call made while a telemetry from it is live, or while one is being
|
|
7
|
+
* built, returns the same promise, so concurrent first requests build one telemetry. A call after
|
|
8
|
+
* that telemetry shut down, or after a setup that failed, builds a new one. Core's process-wide
|
|
9
|
+
* guard still applies: while a telemetry from another setup is live, setup fails with ALREADY_SETUP.
|
|
10
|
+
*/
|
|
11
|
+
import { createTelemetryWith, setupWith } from "@libo11y/core";
|
|
12
|
+
import { workersPlatform } from "./platform.js";
|
|
13
|
+
// The guard core's setupWith holds while a global telemetry is live, shared by every copy of core.
|
|
14
|
+
const GUARD = Symbol.for("libo11y.setup");
|
|
15
|
+
function guardHeld() {
|
|
16
|
+
return globalThis[GUARD] === true;
|
|
17
|
+
}
|
|
18
|
+
let memo;
|
|
19
|
+
function split(options) {
|
|
20
|
+
const { env, exporter, metricsFlushIntervalMillis, ...core } = options;
|
|
21
|
+
return {
|
|
22
|
+
core,
|
|
23
|
+
platform: {
|
|
24
|
+
...(env === undefined ? {} : { env }),
|
|
25
|
+
...(exporter === undefined ? {} : { exporter }),
|
|
26
|
+
...(metricsFlushIntervalMillis === undefined ? {} : { metricsFlushIntervalMillis }),
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Builds telemetry on the Workers platform once per isolate, emits the o11y.telemetry.configured
|
|
32
|
+
* canary and installs it globally: the AsyncLocalStorage context manager, the tracer, meter and
|
|
33
|
+
* logger providers, the propagator and the error handler. Call it inside a handler, never at module
|
|
34
|
+
* scope, which workerd does not let start timers. Every later call returns the first call's
|
|
35
|
+
* promise while its telemetry is live, whatever options it passes. It rejects with O11yError as
|
|
36
|
+
* core's setupWith does, and the next call tries again.
|
|
37
|
+
*/
|
|
38
|
+
export function setup(options = {}) {
|
|
39
|
+
const current = memo;
|
|
40
|
+
if (current !== undefined) {
|
|
41
|
+
// A settled telemetry is handed out in a promise of this invocation's own. workerd ties a
|
|
42
|
+
// promise to the invocation that made it, and awaiting one from an invocation that has ended
|
|
43
|
+
// queues work into a context that no longer runs.
|
|
44
|
+
if (current.telemetry !== undefined && guardHeld())
|
|
45
|
+
return Promise.resolve(current.telemetry);
|
|
46
|
+
if (current.telemetry === undefined)
|
|
47
|
+
return current.promise;
|
|
48
|
+
}
|
|
49
|
+
const { core, platform } = split(options);
|
|
50
|
+
const entry = { promise: Promise.resolve(undefined), telemetry: undefined };
|
|
51
|
+
entry.promise = setupWith(core, workersPlatform(platform)).then((telemetry) => {
|
|
52
|
+
entry.telemetry = telemetry;
|
|
53
|
+
return telemetry;
|
|
54
|
+
}, (err) => {
|
|
55
|
+
if (memo === entry)
|
|
56
|
+
memo = undefined;
|
|
57
|
+
throw err;
|
|
58
|
+
});
|
|
59
|
+
memo = entry;
|
|
60
|
+
return entry.promise;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Builds telemetry on the Workers platform without touching any global, without the canary and
|
|
64
|
+
* without memoizing it, as a test or a second pipeline wants.
|
|
65
|
+
*/
|
|
66
|
+
export function createTelemetry(options = {}) {
|
|
67
|
+
const { core, platform } = split(options);
|
|
68
|
+
return createTelemetryWith(core, workersPlatform(platform));
|
|
69
|
+
}
|
package/dist/version.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libo11y/workers",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"description": "The libo11y platform for Cloudflare Workers and Durable Objects (workerd): setup memoized per isolate, OTLP/HTTP export over fetch or a service binding, the AsyncLocalStorage context, cumulative metrics exported on flush, flushing through waitUntil, and spans for fetch, queue and scheduled handlers.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/libo11y/libo11y.git",
|
|
17
|
+
"directory": "ts/packages/workers"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@libo11y/core": "0.8.0",
|
|
21
|
+
"@libo11y/server": "0.8.0",
|
|
22
|
+
"@libo11y/spec": "0.8.0",
|
|
23
|
+
"@opentelemetry/core": "3.1.1",
|
|
24
|
+
"@opentelemetry/otlp-transformer": "0.301.1",
|
|
25
|
+
"@opentelemetry/sdk-logs": "3.1.1",
|
|
26
|
+
"@opentelemetry/sdk-metrics": "3.1.1",
|
|
27
|
+
"@opentelemetry/sdk-trace": "3.1.1"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@opentelemetry/api": ">=1.10.0 <1.11.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@effect/opentelemetry": "4.2.0",
|
|
34
|
+
"@libo11y/effect": "0.8.0",
|
|
35
|
+
"@libo11y/test": "0.8.0",
|
|
36
|
+
"@opentelemetry/api": "1.10.0",
|
|
37
|
+
"effect": "4.2.0",
|
|
38
|
+
"workerd": "1.20261120.1"
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"dist",
|
|
42
|
+
"README.md",
|
|
43
|
+
"LICENSE"
|
|
44
|
+
],
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public",
|
|
47
|
+
"provenance": true
|
|
48
|
+
}
|
|
49
|
+
}
|