Configuration file of prometheus and alertmanger

I tried to change the configuration file of prometheus and alertmanger, but it is always restored. What should I modify?

hi, did u find a way?