Skip to content
Snippets Groups Projects
Config.py 438 B
Newer Older
import logging

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
LOG_LEVEL = logging.INFO
# gRPC settings
GRPC_SERVICE_PORT = 1010
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
GRPC_MAX_WORKERS  = 200 # multiple clients might keep connections alive for Get*Events() RPC methods
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
GRPC_GRACE_PERIOD = 60

# REST-API settings
RESTAPI_SERVICE_PORT = 8080
RESTAPI_BASE_URL = '/api'

# Prometheus settings
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
METRICS_PORT = 9192
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

# Autopopulate the component with fake data for testing purposes?
POPULATE_FAKE_DATA = False