Netdata Community

Why does web_log_1m_successful count redirects as failure? and how to change it

I have a domain that redirects elsewhere (eg. imagine redirecting to When a lot of people (or search engine indexers) hit the domain that redirects, I get a web_log_1m_redirects warning alert plus a web_log_1m_successful critical alert.

Why are redirects not counted as successful hits? They do not represent any error condition.

I understand how to disable the web_log_1m_redirects alert, but how do I modify the web_log_1m_successful counter to count redirects as successful and only treat actual errors (4xx and 5xx) as failures?