Skip to content

Commit 2eba36c

Browse files
authored
chore(redis-worker): add otel spans to fair queue processing pipeline (#2815)
1 parent 29827e9 commit 2eba36c

File tree

4 files changed

+498
-16
lines changed

4 files changed

+498
-16
lines changed

internal-packages/tracing/src/index.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,16 @@ export type {
2525
ObservableResult,
2626
} from "@opentelemetry/api";
2727

28-
import { trace, context, propagation, SpanKind, metrics, ValueType } from "@opentelemetry/api";
28+
import {
29+
trace,
30+
context,
31+
propagation,
32+
SpanKind,
33+
metrics,
34+
ValueType,
35+
ROOT_CONTEXT,
36+
} from "@opentelemetry/api";
37+
import type { Context } from "@opentelemetry/api";
2938
export {
3039
trace,
3140
context,
@@ -36,6 +45,8 @@ export {
3645
SpanStatusCode,
3746
metrics,
3847
ValueType,
48+
ROOT_CONTEXT,
49+
type Context,
3950
};
4051

4152
export function getTracer(name: string): Tracer {

0 commit comments

Comments
 (0)