Basic Prometheus metrics #7

Merged
arch merged 6 commits from prometheus-metrics into main 2024-05-19 00:30:57 +01:00
Showing only changes of commit b4248c0f28 - Show all commits

View file

@ -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)
}