Home / Function/ useSendTelemetryEvent() — supabase Function Reference

useSendTelemetryEvent() — supabase Function Reference

Architecture documentation for the useSendTelemetryEvent() function in telemetry.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/learn/lib/telemetry.ts lines 10–19

export function useSendTelemetryEvent() {
  const pathname = usePathname()

  return useCallback(
    (event: TelemetryEvent) => {
      return sendTelemetryEvent(API_URL, event, pathname)
    },
    [pathname]
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free