Documentation
¶
Index ¶
- type Datapoint
- type Db
- func (d *Db) Builds() (datapoints []Datapoint, err error)
- func (d *Db) Close() (err error)
- func (d *Db) Containers() (datapoints []Datapoint, err error)
- func (d *Db) Pipelines() (datapoints []Datapoint, err error)
- func (d *Db) Resources() (datapoints []Datapoint, err error)
- func (d *Db) TableSizes() (datapoints []Datapoint, err error)
- func (d *Db) TableStat() (datapoints []Datapoint, err error)
- func (d *Db) Teams() (datapoints []Datapoint, err error)
- func (d *Db) Workers() (datapoints []Datapoint, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db ¶
type Db struct {
// contains filtered or unexported fields
}
func (*Db) Containers ¶
func (*Db) TableSizes ¶
func (*Db) TableStat ¶
TableStat retrieves statistics from `pg_stat_user_tables`.
- seq_scan - seq scans initiated on this table
- seq_tup_read - live rows fetched by sequential scans
- idx_scan - index scans initiated on this table
- idx_tup_fetch - live rows fetched by index scans
- n_tup_ins - rows inserted
- n_tup_upd - rows updated
- n_tup_del - rows deleted
- n_tup_hot_upd - rows HOT updated
- n_live_tup - lives rows
- n_dead_tup - read rows
Click to show internal directories.
Click to hide internal directories.