Skip to content

can't use logfire within durable objects #75

Description

@samuelcolvin

I get

✘ [ERROR] Uncaught Error: Config is undefined. This is a bug in the instrumentation logic Error

      at startSpan
  (file:///Users/samuel/code/paig-console/node_modules/@pydantic/otel-cf-workers/src/tracer.ts:59:22)
      at startSpan
  (file:///Users/samuel/code/paig-console/node_modules/@opentelemetry/api/src/trace/ProxyTracer.ts:41:30)
      at k
  (file:///Users/samuel/code/paig-console/node_modules/@pydantic/logfire-api/dist/index.js:370:19)
      at h
  (file:///Users/samuel/code/paig-console/node_modules/@pydantic/logfire-api/dist/index.js:410:3)
      at Te
  (file:///Users/samuel/code/paig-console/node_modules/@pydantic/logfire-api/dist/index.js:431:3)
      at acquire (file:///Users/samuel/code/paig-console/worker/src/index.ts:73:15)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions