We have few alerts for the most critical services, which explicitly checks if service is not failed. This require us to use systemd collector for node exporter, and it gathers a lot of series.
There is a known slightly boring problem with tests. You have conftest.py, which is magical and is always available in tests (but only via hooks and fixtures, and double-magical ‘request’ metafunc). If you want to have it outside fixtures, things become…
conftest.py