SIENTIAPDE-1174
Update Redis activity to use metadata for model and pipeline names, improving consistency in metric tracking.
This commit is contained in:
@@ -155,8 +155,8 @@ class Redis(RedisBase):
|
|||||||
for metric in to_register_metrics:
|
for metric in to_register_metrics:
|
||||||
metrics.TAG_CHANGES_MONITOR.labels(
|
metrics.TAG_CHANGES_MONITOR.labels(
|
||||||
pod_id=self.pod_id,
|
pod_id=self.pod_id,
|
||||||
model_name=input_data['model_name'],
|
model_name=metadata['model_name'],
|
||||||
pipeline_name=input_data['schedule_name'],
|
pipeline_name=metadata['schedule_name'],
|
||||||
tag_name=metric[0]
|
tag_name=metric[0]
|
||||||
).set(metric[1])
|
).set(metric[1])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user