Development
This commit is contained in:
parent
47a7c564ab
commit
67b593bde3
3 changed files with 3 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ DASHBOARD_DB = f'{CONFIGS_DIR}/.dashboard-snapshots'
|
|||
CREDENTIALS_DB = f'{CONFIGS_DIR}/.client-credentials'
|
||||
HEALTH_FILE = f'{CONFIGS_DIR}/.health'
|
||||
DNS_METRICS_DB = f'{CONFIGS_DIR}/.dns-metrics'
|
||||
DNS_QUERIES_DB = f'{CONFIGS_DIR}/.dns-queries'
|
||||
BLOCKLISTS_DIR = f'{CONFIGS_DIR}/blocklists'
|
||||
PRODUCT_NAME = os.environ.get('PRODUCT_NAME', 'routlin')
|
||||
DASHB_TIMER_NAME = f'{PRODUCT_NAME}-dashboard-queue'
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
"type": "stat_card",
|
||||
"label": "DHCP Leases",
|
||||
"value": "%STAT_LEASE_COUNT%",
|
||||
"sub": "active leases",
|
||||
"sub": "<a href=\"/dhcpleases\">active leases</a>",
|
||||
"variant": "accent"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ def load_dns_metrics(period=0):
|
|||
return empty
|
||||
|
||||
|
||||
DNS_QUERIES_DB = f'{config_utils.CONFIGS_DIR}/dns-queries.db'
|
||||
DNS_QUERIES_DB = config_utils.DNS_QUERIES_DB
|
||||
|
||||
|
||||
def has_query_logging(cfg):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue