Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/tracing/index.ts → core/src/tracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//
export { type Tracer, type Attributes, type Name, setTracer, trace, traceP, traceF, event };

import type { Future } from "../future";
import type { Future } from "./future";

// A flat bag of primitive values attached to a trace or event.
type Attributes = Record<string, string | number | boolean>;
Expand Down
2 changes: 1 addition & 1 deletion core/src/tracing/opentelemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// OTLP trace viewer such as https://tracekit.dev/tools/trace-visualizer.
export { OpenTelemetryTracer, OtlpJsonStdoutProcessor };

import { type Tracer, type Attributes } from "./index";
import { type Tracer, type Attributes } from "../tracing";
import { Future } from "../future";
import {
context,
Expand Down
2 changes: 1 addition & 1 deletion core/src/tracing/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// }));
export { ProxyTracer, type Config };

import { type Tracer, type Attributes } from "./index";
import { type Tracer, type Attributes } from "../tracing";
import type { Future } from "../future";
import { fileURLToPath } from "node:url";
import { dirname, sep } from "node:path";
Expand Down
2 changes: 1 addition & 1 deletion core/src/tracing/simple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// $ docker logs event-sourcing-backend | grep "\"ph\"" | jq -s '.' >events.json
export { SimpleTracer };

import type { Tracer, Attributes } from "./index";
import type { Tracer, Attributes } from "../tracing";
import { Future } from "../future";
import { AsyncLocalStorage } from "node:async_hooks";

Expand Down
Loading