Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PgCollector ¶
PgCollector describes PostgreSQL metrics collector
func New ¶
func New(ctx context.Context) *PgCollector
New create new instance of the PostgreSQL metrics collector
func (*PgCollector) Collect ¶
func (p *PgCollector) Collect(metricsCh chan<- prometheus.Metric)
Collect implements Collect method of the Collector interface
func (*PgCollector) Describe ¶
func (p *PgCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements Describe method of the Collector interface
func (*PgCollector) LoadConfig ¶
func (p *PgCollector) LoadConfig(cfg *config.Config)
LoadConfig loads config
Click to show internal directories.
Click to hide internal directories.