From 0fbd5023e92e01058f7f0dc25f0879d3d443ebc6 Mon Sep 17 00:00:00 2001 From: Paige Rubendall Date: Wed, 31 Jan 2024 11:12:13 -0500 Subject: [PATCH] updating requirements --- orion.py | 5 +++-- requirements.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/orion.py b/orion.py index 1cac3d9..b7ec4cc 100644 --- a/orion.py +++ b/orion.py @@ -95,9 +95,10 @@ def get_metric_data(ids, index, metrics, match, logger): """ dataframe_list = [] for metric in metrics: - logger.info("Collecting %s", metric["metric"]) - metric_of_interest = metric['metric_of_interest'] metric_name = metric['name'] + logger.info("Collecting %s", metric_name) + metric_of_interest = metric['metric_of_interest'] + if "agg" in metric.keys(): try: cpu = match.get_agg_metric_query( diff --git a/requirements.txt b/requirements.txt index e3f3ac3..218fe88 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ click==8.1.7 elastic-transport==8.11.0 elasticsearch==8.11.1 elasticsearch7==7.13.0 -fmatch==0.0.3 +fmatch==0.0.4 numpy==1.26.3 pandas==2.1.4 python-dateutil==2.8.2