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:
vitor-aignosi
2025-07-31 08:30:00 -03:00
parent 716415ab5b
commit bc7008acdf
5 changed files with 20 additions and 4 deletions

View File

@@ -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(