Skip to content

supa_agent_trace

A browser extension and agent for Supabase

supa_agent_trace · A browser extension and agent for Supabase

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101792supa_agent_tracesupa_agent_trace0.1.0STATMITSQL
Relationships
Requirespgcrypto

Usage

Sources:

supa_agent_trace — Both the extension and the DevTool authenticate with the Supabase Management API (account-level OAuth) — neither holds a project GoTrue session. Use it when collecting or interpreting the corresponding PostgreSQL statistics. Its extension dependencies must be installed and validated first.

Core Workflow

CREATE EXTENSION supa_agent_trace;

select dbdev.install('jessevent@supa_agent_trace');
create extension "jessevent@supa_agent_trace";

Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.

Important Objects

  • public.agent_trace_broadcast() is an extension function and returns trigger.
  • public.agent_trace_prune(retention interval default interval '7 days') is an extension function and returns bigint.
  • public.agent_trace_topic(uid uuid) is an extension function and returns text.
  • public.agent_trace_events is a table installed or managed by the extension.

Requirements and Caveats

  • The reviewed control file declares default version 0.1.0.
  • Install the confirmed extension dependencies first: pgcrypto.
  • The control file marks the extension as non-relocatable.
  • The control file does not require superuser-only installation.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader