-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prometheus: prevented caching of metric values.
Notably, the "angie_http/stream_upstreams_peers_state" metrics in the "prometheus_all.conf" template could output the same value cached from the first evaluation of $p8st_all_ups_state for two reasons: 1. By default, the "map" evaluation was always cached. 2. Even non-cacheable variable values weren't flushed properly. Meanwhile, other metrics that use $p8s_value directly worked fine only because the "valid" flag was not set. --HG-- branch : 1.3
- Loading branch information
Showing
3 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters