Added reporter
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-12-03 00:31:30 +01:00
parent 99aa33b1df
commit cf6ea3959c
3 changed files with 36 additions and 0 deletions

View File

@@ -11,3 +11,7 @@ class Config:
INPUT_SERVICE_URL = os.environ.get("INPUT_SERVICE_URL", "http://input-service/input")
DROPALL = os.environ.get("DROPALL", "no").lower() in ['yes', 'true', '1']
REPORT_ALIAS = os.environ.get("REPORTER_ALIAS", os.environ['HOSTNAME'])
REPORT_URL = os.environ.get("REPORT_URL", "")
REPORT_INTERVAL = int(os.environ.get("REPORT_INTERVAL", 15))