Search Shortcut cmd + k | ctrl + k
pyroscope

DuckDB Pyroscope Extension for Continuous Profiling

Maintainer(s): lmangani, akvlad

Installing and Loading

INSTALL pyroscope FROM community;
LOAD pyroscope;

Example

---- Start the tracer, requires backend URL
D SELECT * FROM trace_start('https://pyroscope:4000');

---- Stop the tracer
D SELECT * FROM trace_stop();

About pyroscope

Pyroscope Continuous Profiling

This experimental community extension adds pyroscope continuous profiling features to DuckDB

Grafana

Create a Free account on Grafana Cloud create a Token for Pyroscope profile sending and use the extension:

---- Start the tracer to Grafana Cloud Pyroscope
D SELECT * FROM trace_start('https://user:[email protected]');

Gigapipe

Create a Free account on Gigapipe create a Token for Pyroscope profile sending and use the extension:

---- Start the tracer to Grafana Cloud Pyroscope
D SELECT * FROM trace_start('https://user:[email protected]');

pyroscope_duckdb_large

Added Functions

function_name function_type description comment examples
trace_start table NULL NULL []
trace_stop table NULL NULL []