add alerts config by headers
some doc