Implement ingesting to Redis from Threshold

This commit is contained in:
2022-09-07 07:20:30 +01:00
parent a6b5348224
commit 49784dfbe5
10 changed files with 46 additions and 50 deletions

View File

@@ -5,7 +5,6 @@ from os import getenv
from signal import SIGINT, signal
from sys import stderr, stdout
import core.logstash
import main
import modules.counters
from api.views import API
@@ -36,7 +35,7 @@ if "--migrate" in sys.argv:
loadCommands()
core.logstash.init_logstash()
# core.logstash.init_logstash()
signal(SIGINT, handler) # Handle Ctrl-C and run the cleanup routine
stdout = getwriter("utf8")(stdout) # this is a generic fix but we all know
stderr = getwriter("utf8")(stderr) # it's just for the retards on Rizon using