Skip to content

Commit

Permalink
add missing describes
Browse files Browse the repository at this point in the history
  • Loading branch information
jfchevrette committed Dec 3, 2019
1 parent 446907f commit b674928
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rds.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,11 @@ func NewRDSExporter(sess *session.Session) *RDSExporter {
// Describe is used by the Prometheus client to return a description of the metrics
func (e *RDSExporter) Describe(ch chan<- *prometheus.Desc) {
ch <- e.AllocatedStorage
ch <- e.DBInstanceClass
ch <- e.DBInstanceStatus
ch <- e.EngineVersion
ch <- e.MaxConnections
ch <- e.MaxConnectionsMappingError
}

// Collect is used by the Prometheus client to collect and return the metrics values
Expand Down

0 comments on commit b674928

Please sign in to comment.