feat: add new jail config metrics

Add new metrics around basic jail configuration. The new metrics expose the
max retries, ban time, and find time for each jail.
Update project README with the new metrics.
This commit is contained in:
Hector
2021-10-14 20:52:25 +00:00
parent bb5c15de1b
commit 56730c8774
4 changed files with 95 additions and 0 deletions

View File

@ -12,6 +12,9 @@ const (
pingCommand = "ping"
statusCommand = "status"
versionCommand = "version"
banTimeCommandFmt = "get %s bantime"
findTimeCommandFmt = "get %s findtime"
maxRetriesCommandFmt = "get %s maxretry"
socketReadBufferSize = 1024
)