remove: references to db collector

Remove final references to the deprecated database metric collector.
Remove counter for db connection errors.

BREAKING CHANGE: Remove `-db` CLI flag.
This commit is contained in:
Hector
2021-12-21 17:42:42 +00:00
parent 157e065369
commit 497e2ff692
4 changed files with 2 additions and 12 deletions

View File

@ -29,9 +29,6 @@ func Parse() *AppSettings {
flag.BoolVar(&appSettings.FileCollectorEnabled, "collector.textfile", false, "enable the textfile collector")
flag.StringVar(&appSettings.FileCollectorPath, "collector.textfile.directory", "", "directory to read text files with metrics from")
// deprecated: to be removed in next version
_ = flag.String("db", "", "path to the fail2ban sqlite database (removed)")
flag.Parse()
appSettings.validateFlags()
return appSettings