import logging

# General settings
LOG_LEVEL = logging.DEBUG

# gRPC settings
GRPC_SERVICE_PORT = 10005
GRPC_MAX_WORKERS  = 10
GRPC_GRACE_PERIOD = 60

# service settings
MONITORING_INTERVAL = 2  # monitoring interval in seconds
#TODO: adjust the addresses below for the specific case
MONITORING_SERVICE_ADDRESS = 'monitoring'  # address/name of the monitoring service
# MONITORING_SERVICE_ADDRESS = '10.99.41.20'  # address/name of the monitoring service
CONTEXT_SERVICE_ADDRESS = 'contextservice'  # address/name of the monitoring service
# CONTEXT_SERVICE_ADDRESS = '10.107.199.65'  # address/name of the monitoring service
SERVICE_SERVICE_ADDRESS = 'serviceservice'  # address/name of the service service
# SERVICE_SERVICE_ADDRESS = '10.99.234.88'  # address/name of the service service
# INFERENCE_SERVICE_ADDRESS = '10.108.113.78'  # address/name of the inference service
INFERENCE_SERVICE_ADDRESS = 'dbscanservingservice'  # address/name of the inference service
# ATTACK_MITIGATOR_SERVICE_ADDRESS = '10.96.248.167'
ATTACK_MITIGATOR_SERVICE_ADDRESS = 'opticalattackmitigatorservice'

# Prometheus settings
METRICS_PORT = 9192
