collector

package
v0.0.0-...-1354bf5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

func NewPatroniCollector

func NewPatroniCollector(client client.PatroniClient, config CollectorConfiguration, logger log.Logger) prometheus.Collector

Types

type CollectorConfiguration

type CollectorConfiguration struct {
	PostgresConnectionString string
	HOST                     string
	PORT                     string
	DATABASE                 string
	USER                     string
	PASSWORD                 string
	CLUSTER                  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL