0b40e5de82
Add dependencies on `sqlite` to allow connecting to the fail2ban database. Add a new `db` module to handle all the database connections and data queries used to generate metrics. Export a new metric for the total number of bad IPs stored in the fail2ban database.
9 lines
139 B
Modula-2
9 lines
139 B
Modula-2
module fail2ban-prometheus-exporter
|
|
|
|
go 1.15
|
|
|
|
require (
|
|
github.com/mattn/go-sqlite3 v1.14.6
|
|
github.com/prometheus/client_golang v1.9.0
|
|
)
|