Versions in this module Expand all Collapse all v0 v0.5.0 Oct 4, 2018 v0.0.1 Sep 3, 2018 Changes in this version + var Delay = 600 * time.Second + var Metrics = []Metric + var Period = 60 * time.Second + var Range = 600 * time.Second + var ScrapeTimeDesc = prometheus.NewDesc("rds_exporter_scrape_duration_seconds", ...) + type Exporter struct + ErroneousRequests prometheus.Counter + Metrics []Metric + Sessions *sessions.Sessions + Settings *config.Settings + TotalRequests prometheus.Counter + func New(settings *config.Settings, sessions *sessions.Sessions) *Exporter + func (e *Exporter) Collect(ch chan<- prometheus.Metric) + func (e *Exporter) Describe(ch chan<- *prometheus.Desc) + type Metric struct + Desc *prometheus.Desc + Name string + type Scraper struct + func NewScraper(instance config.Instance, exporter *Exporter, ch chan<- prometheus.Metric) *Scraper + func (s *Scraper) Scrape()