Skip to content

Commit

Permalink
removed debugs
Browse files Browse the repository at this point in the history
Signed-off-by: Shashank Reddy Boyapally <[email protected]>
  • Loading branch information
shashank-boyapally committed Feb 14, 2024
1 parent 81676c4 commit 51a9d9c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fmatch/test_fmatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

match = Matcher(index="perf_scale_ci")
res=match.get_metadata_by_uuid("b4afc724-f175-44d1-81ff-a8255fea034f",'perf_scale_ci')
print(res)

meta = {}
meta["masterNodesType"] = "m6a.xlarge"
Expand All @@ -28,15 +27,12 @@
# meta['fips'] = "false"

uuids = match.get_uuid_by_metadata(meta)
print(len(uuids))
if len(uuids) == 0:
print("No UUID present for given metadata")
sys.exit()
runs = match.match_kube_burner(uuids)

# print(len(runs))
ids = match.filter_runs(runs, runs)
print(len(ids))
podl_metrics = {
"name": "podReadyLatency",
"metricName": "podLatencyQuantilesMeasurement",
Expand All @@ -55,9 +51,7 @@
kapi_cpu = match.get_agg_metric_query(ids, "ripsaw-kube-burner*", metrics=kapi_metrics)
podl_df = match.convert_to_df(
podl, columns=['uuid', 'timestamp', 'quantileName', 'P99'])
print(podl_df)
kapi_cpu_df = match.convert_to_df(kapi_cpu)
print(kapi_cpu_df)
merge_df = pd.merge(kapi_cpu_df, podl_df, on="uuid")
match.save_results(merge_df, "merged.csv", [
"uuid", "timestamp_x", "cpu_avg", "P99"])
Expand Down

0 comments on commit 51a9d9c

Please sign in to comment.