Commit 34fdb69
authored
Add support for optional namespace caching. (prometheus-community#319)
In the user queries.yml file, the created namespaces can now be optionally
cached by setting cache_seconds, which will prevent the query being re-run
within that timeframe if previous results are available.
Supercedes prometheus-community#211, credit to @SamSaffron for the original PR.1 parent 1385b4f commit 34fdb69
File tree
4 files changed
+198
-122
lines changed- cmd/postgres_exporter
4 files changed
+198
-122
lines changed
0 commit comments