rename durations to metric_durations #41
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ from flask_mail import Message
|
|||
from werkzeug.exceptions import abort
|
||||
from nanoid import generate
|
||||
|
||||
from capsulflask.metrics import durations as metric_durations
|
||||
from capsulflask.metrics import metric_durations
|
||||
from capsulflask.auth import admin_account_required
|
||||
from capsulflask.db import get_model
|
||||
from capsulflask.consistency import get_all_vms_from_db, get_all_vms_from_hosts, get_inconsistent_capsuls_information
|
||||
|
|
|
@ -14,7 +14,7 @@ from flask import url_for
|
|||
from werkzeug.exceptions import abort
|
||||
from nanoid import generate
|
||||
|
||||
from capsulflask.metrics import durations as metric_durations
|
||||
from capsulflask.metrics import metric_durations
|
||||
from capsulflask.auth import account_required
|
||||
from capsulflask.db import get_model
|
||||
from capsulflask.shared import my_exec_info_message, get_warnings_list, get_warning_headline, get_vm_months_float, get_account_balance, average_number_of_days_in_a_month
|
||||
|
|
|
@ -19,7 +19,7 @@ from capsulflask.auth import account_required
|
|||
mutex = Lock()
|
||||
bp = Blueprint("metrics", __name__, url_prefix="/metrics")
|
||||
|
||||
durations = dict(
|
||||
metric_durations = dict(
|
||||
_5m=[60*5, 15],
|
||||
_1h=[60*60, 60],
|
||||
_1d=[60*60*24, 60*20],
|
||||
|
|
Loading…
Reference in a new issue