SIENTIAPDE-1174

SIENTIAPDE-1174 Update dependencies, modify image tag, and enhance metrics tracking in various activities for improved observability and performance.
This commit is contained in:
vitor-aignosi
2025-07-31 12:52:07 -03:00
parent 37d196be14
commit 2efad30304
9 changed files with 88 additions and 8 deletions

15
scouter/metrics.py Normal file
View File

@@ -0,0 +1,15 @@
from prometheus_client import Gauge, Counter
CORE_LABELS = ["pod_id", "model_name", "pipeline_name"]
LABORIOUS_DATA_WRITTEN_COUNT = Counter(
"scouter_laborious_data_written_count",
"Number of writings to the database table laborious_data",
CORE_LABELS,
)
TAG_CHANGES_MONITOR = Gauge(
"scouter_tag_changes_monitor",
"Current value change of each tag",
[*CORE_LABELS, "tag_name"],
)