git action clone 추가
This commit is contained in:
@@ -14,7 +14,7 @@ from services.dashboard import (
|
||||
from services.reporter import post_mattermost
|
||||
from services.summarizer import compute_total_for_target
|
||||
from setting.config import AppConfig
|
||||
from utils.timeutils import now_kst, to_epoch
|
||||
from utils.timeutils import now_kst, step_for_range, to_epoch
|
||||
|
||||
logging.basicConfig(level=logging.INFO, format="%(message)s")
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -63,7 +63,7 @@ def main():
|
||||
step = 21600 # 6시간 - Interval
|
||||
|
||||
start_epoch, end_epoch = to_epoch(start), to_epoch(now)
|
||||
# step = step_for_range(end_epoch - start_epoch)
|
||||
step = step_for_range(end_epoch - start_epoch)
|
||||
|
||||
# 대시보드에서 패널 추출
|
||||
dash = gf.get_dashboard_by_uid(cfg.grafana_dashboard_uid)
|
||||
|
||||
Reference in New Issue
Block a user