Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func NewCollector(sess *session.Session, i *rds.DBInstance, dbConf DbCollectorConf) (*Collector, error)
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type DbCollector ¶
type DbCollector interface { prometheus.Collector Close() error }
type DbCollectorConf ¶
type Discoverer ¶
type Discoverer struct {
// contains filtered or unexported fields
}
func NewDiscoverer ¶
func NewDiscoverer(reg prometheus.Registerer, awsSession *session.Session, discoveryInterval time.Duration, dbConf DbCollectorConf) *Discoverer
func (*Discoverer) Run ¶
func (d *Discoverer) Run()
type LogReader ¶
type LogReader struct {
// contains filtered or unexported fields
}
supports only Postgresql RDS log for now need more work to support for example Mysql RDS logs, because of rotation
func NewLogReader ¶
Click to show internal directories.
Click to hide internal directories.