Skip to content

fix(types): expose OpenTelemetry APIs in event workers - #725

Open
da1suk8 wants to merge 1 commit into
supabase:mainfrom
da1suk8:fix/event-worker-typedefs
Open

fix(types): expose OpenTelemetry APIs in event workers#725
da1suk8 wants to merge 1 commit into
supabase:mainfrom
da1suk8:fix/event-worker-typedefs

Conversation

@da1suk8

@da1suk8 da1suk8 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds TypeScript declarations for OpenTelemetry APIs already exposed through
EdgeRuntime in event workers:

  • builtinTracer()
  • enterSpan(span)
  • TRACING_ENABLED
  • METRICS_ENABLED

This improves type checking and editor completion without changing runtime
behavior.

Validation

  • deno check --config deno.json types/global.d.ts

@da1suk8
da1suk8 marked this pull request as ready for review August 27, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant