SIENTIAPDE-1174
Update requirements and environment configurations - Changed the sientia-dataops-library dependency to a relative path in requirements.txt. - Updated image tag to 0.3.0 in values.yaml. - Renamed HTTP_SERVER_PORT to HTTP_METRICS_PORT in app.py and updated its default value to 9090. - Added TAG_WRITTEN_COUNT metric in metrics.py to track writing processes. - Incremented TAG_WRITTEN_COUNT in DataManager upon successful data insertion.
This commit is contained in:
@@ -6,6 +6,15 @@ KAFKA_LABELS = ["pod_id", "topic"]
|
||||
REDIS_LABELS = ["pod_id", "operation"]
|
||||
NOTIFICATION_LABELS = ["pod_id", "level", "block"]
|
||||
|
||||
MAIN_LABELS = ["pod_id"]
|
||||
|
||||
# --- Reliability Metrics ---
|
||||
TAG_WRITTEN_COUNT = Counter(
|
||||
"ingestor_tag_written_count",
|
||||
"Number of writing process to the collection",
|
||||
[*MAIN_LABELS, "tag_name", "collection_name"],
|
||||
)
|
||||
|
||||
|
||||
# --- General Application Metrics ---
|
||||
APP_LOOP_COUNT = Counter(
|
||||
|
||||
Reference in New Issue
Block a user