SIENTIAPDE-1325
Enhance Ingestor Class with Asynchronous Metrics and Monitoring Integration - Refactored Ingestor class to inherit from SientiaMonitoring for improved observability. - Updated methods to utilize asynchronous operations for declaring active ingestors and managing slots. - Integrated pod_id label into various metrics for better tracking. - Adjusted unit tests to reflect changes in the Ingestor initialization and asynchronous behavior.
This commit is contained in:
@@ -58,14 +58,17 @@ APP_UP = Gauge(
|
||||
ACTIVE_INGESTORS = Gauge(
|
||||
'ingestor_active_total',
|
||||
'Number of active ingestors reported by Redis',
|
||||
POD_ID_LABEL,
|
||||
)
|
||||
SLOTS_TOTAL = Gauge(
|
||||
'ingestor_slots_total',
|
||||
'Total number of slots configured in Redis',
|
||||
POD_ID_LABEL,
|
||||
)
|
||||
LEASES_TOTAL = Gauge(
|
||||
'ingestor_leases_total',
|
||||
'Total number of leases (allocated slots) in Redis',
|
||||
POD_ID_LABEL,
|
||||
)
|
||||
SLOTS_MANAGED = Gauge(
|
||||
'ingestor_slots_managed_current',
|
||||
|
||||
Reference in New Issue
Block a user