Skip to content

Commit

Permalink
Missing dates on Prometheus metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
catttam committed Sep 13, 2024
1 parent dd40942 commit 1eba1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics_prom.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def extract_metrics(cluster_services):
pod_name = m["metric"]["pod"]
if k in pod_name:
value = m["value"][1]
writer.writerow([svc_name,pod_name, value, svc_vo])
writer.writerow([svc_name,pod_name, value, svc_vo, START_DATE, END_DATE])
else:
if "expose" in svc_name:
cpu_usage_query = get_exposed_query(svc_name)
Expand Down

0 comments on commit 1eba1f0

Please sign in to comment.