Basic Prometheus metrics #7
|
@ -724,7 +724,6 @@ SELECT count(*)
|
|||
FROM pastes
|
||||
`
|
||||
var pastes float64
|
||||
// Execute query using 'id' and place value into 'output'
|
||||
db.QueryRow(q).Scan(&pastes)
|
||||
totalPastes.Set(pastes)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue