{"id":22902820,"url":"https://github.com/quackscience/duckdb-extension-pyroscope","last_synced_at":"2025-06-30T21:37:00.953Z","repository":{"id":267356737,"uuid":"900991385","full_name":"quackscience/duckdb-extension-pyroscope","owner":"quackscience","description":"DuckDB Pyroscope Extension for Continuous Profiling","archived":false,"fork":false,"pushed_at":"2025-03-27T13:32:08.000Z","size":70,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T06:05:38.808Z","etag":null,"topics":["continuous-profiling","duckdb","duckdb-extension","observability","olap","ppprof","profiling","pyroscope","qryn"],"latest_commit_sha":null,"homepage":"https://duckdb.org/community_extensions/extensions/pyroscope.html","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quackscience.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-09T20:59:13.000Z","updated_at":"2025-03-27T13:32:13.000Z","dependencies_parsed_at":"2025-03-27T12:36:16.877Z","dependency_job_id":null,"html_url":"https://github.com/quackscience/duckdb-extension-pyroscope","commit_stats":null,"previous_names":["quackmagic/duckdb-extension-pyroscope","quackscience/duckdb-extension-pyroscope"],"tags_count":2,"template":false,"template_full_name":"duckdb/extension-template-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackscience%2Fduckdb-extension-pyroscope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackscience%2Fduckdb-extension-pyroscope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackscience%2Fduckdb-extension-pyroscope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackscience%2Fduckdb-extension-pyroscope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quackscience","download_url":"https://codeload.github.com/quackscience/duckdb-extension-pyroscope/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016624,"owners_count":21198833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["continuous-profiling","duckdb","duckdb-extension","observability","olap","ppprof","profiling","pyroscope","qryn"],"created_at":"2024-12-14T02:19:24.620Z","updated_at":"2025-04-15T06:05:44.094Z","avatar_url":"https://github.com/quackscience.png","language":"Rust","readme":"\u003cimg src=\"https://github.com/user-attachments/assets/46a5c546-7e9b-42c7-87f4-bc8defe674e0\" width=250 /\u003e\n\n# DuckDB Pyroscope Extension\nThis experimental extension adds pyroscope profiling features to DuckDB\n\n![duckdb_flamegraph](https://github.com/user-attachments/assets/9769ca8c-9839-41d8-8dcc-c468c0637771)\n\n\u003e For raw `pprof` generation use the [pprof extension](https://github.com/quackscience/duckdb-extension-pprof)\n\n### Install\n```\nINSTALL pyroscope FROM community;\nLOAD pyroscope;\n```\n\n### Usage\n\n```sql\n---- Start the tracer, requires backend Pyroscope URL\nD SELECT * FROM trace_start('https://pyroscope:4000');\n\n---- Run a bunch of heavy queries to stream results to Pyroscope/qryn\n\n---- Stop the tracer. This might hang due to a bug in the pyroscope crate.\nD SELECT * FROM trace_stop();\n```\n\n### Glory Shot in Pyroscope\nCreate a `Free` account on [Grafana Cloud](https://grafana.com/auth/sign-up/create-user?pg=prod-cloud\u0026plcmt=hero-btn-1) create a Token for Pyroscope profile sending and use the extension:\n```sql\n---- Start the tracer to Grafana Cloud Pyroscope\nD SELECT * FROM trace_start('https://user:token@profiles-prod-xxx.grafana.net');\n```\n\n\n\u003c!-- ![image](https://github.com/user-attachments/assets/1992c8b8-dd29-4343-9a54-88363fa5fe8c) --\u003e\n\n![pyroscope_duckdb_large](https://github.com/user-attachments/assets/74fad3ec-3bc3-4880-be4b-8149c5431115)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquackscience%2Fduckdb-extension-pyroscope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquackscience%2Fduckdb-extension-pyroscope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquackscience%2Fduckdb-extension-pyroscope/lists"}