marmotdata/questdb
Discover tables, views and materialized views from QuestDB instances
The QuestDB plugin discovers tables, views and materialized views from QuestDB instances. It captures the designated timestamp, partitioning, WAL, deduplication and TTL settings of each table, QuestDB column types verbatim, row counts, sizes on disk and partition counts, and links views to the tables they read.
It connects over the PostgreSQL wire protocol (port 8812) with github.com/jackc/pgx/v5 and reads QuestDB's own table functions (tables(), table_columns(), table_partitions(), views(), materialized_views()), since QuestDB's pg_catalog is minimal. QuestDB has a single database and no schemas, so no Database asset is created and objects are addressed by their bare name.
Required Permissions
QuestDB open source has a single login, admin with password quest by default, and no per-table permissions. On QuestDB Enterprise, use a user that can SELECT from the tables to discover; see QuestDB's access control documentation for the exact grants.
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick QuestDB from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
hostText RequiredQuestDB server hostname or IP address
portNumberPostgreSQL wire protocol port
userTextUsername for authentication
passwordSecretPassword for authentication (QuestDB ships with quest)
databaseTextDatabase name, QuestDB has only one
ssl_modeOne ofSSL mode (disable, require)
include_columnsYes or noWhether to include column information in table metadata
include_viewsYes or noWhether to discover views
include_materialized_viewsYes or noWhether to discover materialized views
include_statisticsYes or noWhether to include row counts, column counts and sizes
exclude_system_tablesYes or noWhether to exclude QuestDB internal tables (sys.*, _*, telemetry)
Assets emitted
Metadata this plugin attaches to each discovered asset.
QuestDB
The metadata fields the QuestDB plugin emits for table and view assets.
Column
The per-column fields embedded in an asset's schema.