No description
4f18bf35a8
Add support for configuring CLI parameters in the application using a new `cfg` package. The `cfg` package exports an `AppSettings` struct that contains the settings the application was run with. Update the application to use the new CLI parameters to set the db to open and the port to use for the metrics server. Add support for setting the app version during build. The app includes a `-version` flag to print the stored version data. |
||
---|---|---|
cfg | ||
db | ||
.gitignore | ||
.gitlab-ci.yml | ||
exporter.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
README.md |
Fail2Ban Prometheus Exporter
Go tool to collect and export metrics on Fail2Ban