@cryptotaxi247 / infra-1 / commits / ff970fce

hydra-queue-runner-reexporter: remove memory_tokens_in_use

The upstream property memoryTokensInUse was removed by cbcf6359 [1] in NixOS/Hydra#795 [2]. [1]: https://github.com/NixOS/hydra/pull/795/commits/cbcf6359b4b8525ab6252de2c3cc389397183159 [2]: https://github.com/NixOS/hydra/pull/795

Andrew Childs committed Nov 16, 2020 at 10:55 UTC ff970fcec0afe7a58c89a39a3b8e384252e60ef4
1 file changed -5
delft/prometheus/hydra-queue-runner-reexporter.py
-5
@@ -207,11 +207,6 @@ class HydraScrapeImporter:
207 "Number of in-progress database updates",
208 self.destructive_read("nrActiveDbUpdates")
209 )
210 - yield self.trivial_gauge(
211 - "memory_tokens_in_use",
212 - "Number of in-use memory tokens",
213 - self.destructive_read("memoryTokensInUse")
214 - )
210 yield self.trivial_counter(
211 "notifications_total",
212 "Total number of notifications sent",