You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated metrics from counters to gauges in the Prometheus monitoring implementation.
Replaced requestCounter, delayCounter, timeoutCounter, successCounter, and errorCounter with their respective gauge implementations.
Adjusted the resetCountersHandler function to reset the gauges appropriately.
Reason for Change
The change from counters to gauges allows for more accurate representation of the current state of metrics, as gauges can go up and down, providing a better reflection of the application's performance and health.
Impact
This update may affect how metrics are collected and reported in Prometheus. Ensure that any monitoring dashboards or alerts are updated to reflect the new gauge metrics.