Releases: MasLazu/mock-api
Releases · MasLazu/mock-api
Release list
v1.3.0
v1.2.1
v1.1.1
v1.1.0
Release v1.1.0
Changes
- Updated metrics from counters to gauges in the Prometheus monitoring implementation.
- Replaced
requestCounter,delayCounter,timeoutCounter,successCounter, anderrorCounterwith their respective gauge implementations. - Adjusted the
resetCountersHandlerfunction to reset the gauges appropriately.
- Replaced
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.