ottertune/server/website/website/fixtures/postgres-92_metrics.json

937 lines
28 KiB
JSON

[
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.buffers_backend",
"summary": "Number of buffers written directly by a backend",
"vartype": 2,
"metric_type": 1,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.checkpoints_timed",
"summary": "Number of scheduled checkpoints that have been performed",
"vartype": 2,
"metric_type": 1,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.buffers_alloc",
"summary": "Number of buffers allocated",
"vartype": 2,
"metric_type": 1,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.buffers_clean",
"summary": "Number of buffers written by the background writer",
"vartype": 2,
"metric_type": 1,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.buffers_backend_fsync",
"summary": "Number of times a backend had to execute its own fsync call (normally the background writer handles those even when the backend does its own write)",
"vartype": 2,
"metric_type": 1,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.checkpoint_sync_time",
"summary": "\"Total amount of time that has been spent in the portion of checkpoint processing where files are synchronized to disk, in milliseconds\"",
"vartype": 2,
"metric_type": 1,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.checkpoints_req",
"summary": "Number of requested checkpoints that have been performed",
"vartype": 2,
"metric_type": 1,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.checkpoint_write_time",
"summary": "\"Total amount of time that has been spent in the portion of checkpoint processing where files are written to disk, in milliseconds\"",
"vartype": 2,
"metric_type": 1,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.maxwritten_clean",
"summary": "Number of times the background writer stopped a cleaning scan because it had written too many buffers",
"vartype": 2,
"metric_type": 1,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.buffers_checkpoint",
"summary": "Number of buffers written during checkpoints",
"vartype": 2,
"metric_type": 1,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_bgwriter.stats_reset",
"summary": "Time at which these statistics were last reset",
"vartype": 6,
"metric_type": 2,
"scope": "global"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.numbackends",
"summary": "Number of backends currently connected to this database. This is the only column in this view that returns a value reflecting current state; all other columns return the accumulated values since the last reset.",
"vartype": 2,
"metric_type": 2,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.datname",
"summary": "Name of this database",
"vartype": 1,
"metric_type": 2,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.blks_read",
"summary": "Number of disk blocks read in this database",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.deadlocks",
"summary": "Number of deadlocks detected in this database",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.tup_fetched",
"summary": "Number of rows fetched by queries in this database",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.tup_updated",
"summary": "Number of rows updated by queries in this database",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.stats_reset",
"summary": "Time at which these statistics were last reset",
"vartype": 6,
"metric_type": 2,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.tup_inserted",
"summary": "Number of rows inserted by queries in this database",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.datid",
"summary": "OID of a database",
"vartype": 2,
"metric_type": 2,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.xact_commit",
"summary": "Number of transactions in this database that have been committed",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.tup_deleted",
"summary": "Number of rows deleted by queries in this database",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.blk_read_time",
"summary": "\"Time spent reading data file blocks by backends in this database, in milliseconds\"",
"vartype": 3,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.xact_rollback",
"summary": "Number of transactions in this database that have been rolled back",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.conflicts",
"summary": "\"Number of queries canceled due to conflicts with recovery in this database. (Conflicts occur only on standby servers; see pg_stat_database_conflicts for details.)\"",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.blks_hit",
"summary": "\"Number of times disk blocks were found already in the buffer cache, so that a read was not necessary (this only includes hits in the PostgreSQL buffer cache, not the operating system's file system cache)\"",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.tup_returned",
"summary": "Number of rows returned by queries in this database",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.temp_files",
"summary": "\"Number of temporary files created by queries in this database. All temporary files are counted, regardless of why the temporary file was created (e.g., sorting or hashing), and regardless of the log_temp_files setting.\"",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.blk_write_time",
"summary": "\"Time spent writing data file blocks by backends in this database, in milliseconds\"",
"vartype": 3,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database.temp_bytes",
"summary": "\"Total amount of data written to temporary files by queries in this database. All temporary files are counted, regardless of why the temporary file was created, and regardless of the log_temp_files setting.\"",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database_conflicts.datname",
"summary": "Name of this database",
"vartype": 1,
"metric_type": 2,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database_conflicts.confl_deadlock",
"summary": "Number of queries in this database that have been canceled due to deadlocks",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database_conflicts.confl_bufferpin",
"summary": "Number of queries in this database that have been canceled due to pinned buffers",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database_conflicts.datid",
"summary": "OID of a database",
"vartype": 2,
"metric_type": 2,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database_conflicts.confl_tablespace",
"summary": "Number of queries in this database that have been canceled due to dropped tablespaces",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database_conflicts.confl_lock",
"summary": "Number of queries in this database that have been canceled due to lock timeouts",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_database_conflicts.confl_snapshot",
"summary": "Number of queries in this database that have been canceled due to old snapshots",
"vartype": 2,
"metric_type": 1,
"scope": "database"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_indexes.indexrelid",
"summary": "OID of this index",
"vartype": 2,
"metric_type": 2,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_indexes.relid",
"summary": "OID of the table for this index",
"vartype": 2,
"metric_type": 2,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_indexes.indexrelname",
"summary": "Name of this index",
"vartype": 1,
"metric_type": 2,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_indexes.relname",
"summary": "Name of the table for this index",
"vartype": 1,
"metric_type": 2,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_indexes.idx_tup_fetch",
"summary": "Number of live table rows fetched by simple index scans using this index",
"vartype": 2,
"metric_type": 1,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_indexes.idx_tup_read",
"summary": "Number of index entries returned by scans on this index",
"vartype": 2,
"metric_type": 1,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_indexes.idx_scan",
"summary": "Number of index scans initiated on this index",
"vartype": 2,
"metric_type": 1,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_indexes.schemaname",
"summary": "Name of the schema this index is in",
"vartype": 1,
"metric_type": 2,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.last_vacuum",
"summary": "Last time at which this table was manually vacuumed (not counting VACUUM FULL)",
"vartype": 6,
"metric_type": 2,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.n_tup_ins",
"summary": "Number of rows inserted",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.n_dead_tup",
"summary": "Estimated number of dead rows",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.last_analyze",
"summary": "Last time at which this table was manually analyzed",
"vartype": 6,
"metric_type": 2,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.idx_tup_fetch",
"summary": "Number of live rows fetched by index scans",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.n_tup_upd",
"summary": "Number of rows updated",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.schemaname",
"summary": "Name of the schema that this table is in",
"vartype": 1,
"metric_type": 2,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.seq_tup_read",
"summary": "Number of live rows fetched by sequential scans",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.vacuum_count",
"summary": "Number of times this table has been manually vacuumed (not counting VACUUM FULL)",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.n_mod_since_analyze",
"summary": "Estimated number of rows modified since this table was last analyzed",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.n_tup_del",
"summary": "Number of rows deleted",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.last_autovacuum",
"summary": "Last time at which this table was vacuumed by the autovacuum daemon",
"vartype": 6,
"metric_type": 2,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.seq_scan",
"summary": "Number of sequential scans initiated on this table",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.relid",
"summary": "OID of a table",
"vartype": 2,
"metric_type": 2,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.n_tup_hot_upd",
"summary": "\"Number of rows HOT updated (i.e., with no separate index update required)\"",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.autoanalyze_count",
"summary": "Number of times this table has been analyzed by the autovacuum daemon",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.n_live_tup",
"summary": "Estimated number of live rows",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.relname",
"summary": "Name of this table",
"vartype": 1,
"metric_type": 2,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.last_autoanalyze",
"summary": "Last time at which this table was analyzed by the autovacuum daemon",
"vartype": 6,
"metric_type": 2,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.idx_scan",
"summary": "Number of index scans initiated on this table",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.autovacuum_count",
"summary": "Number of times this table has been vacuumed by the autovacuum daemon",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_stat_user_tables.analyze_count",
"summary": "Number of times this table has been manually analyzed",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_indexes.indexrelid",
"summary": "OID of this index",
"vartype": 2,
"metric_type": 2,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_indexes.relid",
"summary": "OID of the table for this index",
"vartype": 2,
"metric_type": 2,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_indexes.indexrelname",
"summary": "Name of this index",
"vartype": 1,
"metric_type": 2,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_indexes.idx_blks_hit",
"summary": "Number of buffer hits in this index",
"vartype": 2,
"metric_type": 1,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_indexes.relname",
"summary": "Name of the table for this index",
"vartype": 1,
"metric_type": 2,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_indexes.idx_blks_read",
"summary": "Number of disk blocks read from this index",
"vartype": 2,
"metric_type": 1,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_indexes.schemaname",
"summary": "Name of the schema this index is in",
"vartype": 1,
"metric_type": 2,
"scope": "index"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.relid",
"summary": "OID of a table",
"vartype": 2,
"metric_type": 2,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.heap_blks_hit",
"summary": "Number of buffer hits in this table",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.tidx_blks_read",
"summary": "Number of disk blocks read from this table's TOAST table index (if any)",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.tidx_blks_hit",
"summary": "Number of buffer hits in this table's TOAST table index (if any)",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.toast_blks_hit",
"summary": "Number of buffer hits in this table's TOAST table (if any)",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.idx_blks_hit",
"summary": "Number of buffer hits in all indexes on this table",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.relname",
"summary": "Name of this table",
"vartype": 1,
"metric_type": 2,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.toast_blks_read",
"summary": "Number of disk blocks read from this table's TOAST table (if any)",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.idx_blks_read",
"summary": "Number of disk blocks read from all indexes on this table",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.schemaname",
"summary": "Name of the schema that this table is in",
"vartype": 1,
"metric_type": 2,
"scope": "table"
},
"model": "website.MetricCatalog"
},
{
"fields": {
"dbms": 2,
"name": "pg_statio_user_tables.heap_blks_read",
"summary": "Number of disk blocks read from this table",
"vartype": 2,
"metric_type": 1,
"scope": "table"
},
"model": "website.MetricCatalog"
}
]